[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [pdf-devel] [patch] convert LZW filter to new API
From: |
Juan Pedro Bolivar Puente |
Subject: |
Re: [pdf-devel] [patch] convert LZW filter to new API |
Date: |
Thu, 25 Jun 2009 18:12:41 +0200 |
User-agent: |
Mozilla-Thunderbird 2.0.0.19 (X11/20090103) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
> Note that when a filter returns ENINPUT and then the backend returns
> EOF, the filter is called again with finish_p == TRUE and and empty
> input buffer. In that case, the protocol says that the filter should
> _not_ return ENINPUT again.
>
Ok, I missed that :)
> The case where the filter returns ENINPUT and there is still data in
> the input buffer is _not_ considered: the filter should "consume" all
> the contents in the input buffer before to return ENINPUT, storing it
> in some internal storage if needed.
>
That is no prob.
I'll fix the implementation, add some test cases and send the patch in a
few days.
JP
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkpDofkACgkQchi8veCammcmMQCgyiMGioBVTf6reSvTmybs8DyW
/UgAn0Q3vmrYHYBAAa8cwoY6u+zxZp/K
=SbUr
-----END PGP SIGNATURE-----
Re: [pdf-devel] [patch] convert LZW filter to new API, Brad Hards, 2009/06/25