Hi Georg,

> On 29.08.2011 21:15, Franck Lesage wrote:
> > bash-4.1# ./pdf-filter -i ../torture/testdata/TD00002 --jbig2dec 
> > --jbig2dec-globals=../torture/testdata/TD00001
> > Error calling pdf_crypt_init().
> > bash-4.1#  
> > 
> > Does someone experience the same problem ?
> 
> Yes.
> 
> pdf-crypt.c:pdf_crypt_init() returns PDF_TRUE but pdf-filter.c tests on
> PDF_OK. If you change the test in pdf-filter to PDF_TRUE it works.
> 
> A patch is attached.
> 

Thanks for the patch, but the real fix is to fully avoid calling
pdf_crypt_init() directly. This is already called when the program
starts via pdf_init(), which should be the only initialization method in
the library. Already pushed that fix.

Cheers!

-- 
Aleksander

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to