[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [pdf-devel] Buffers at EOB in _apply function
From: |
jemarch |
Subject: |
Re: [pdf-devel] Buffers at EOB in _apply function |
Date: |
Sat, 20 Dec 2008 19:56:44 +0100 |
User-agent: |
Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.6 Emacs/23.0.60 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) |
Hi David.
I have watched a strange behaviour in the filter support implementation
while I was writing AESv2 filter. My _apply function is being called
several times with the input buffer at EOB. I don't how to manage this
in AESv2 filter, since an empty buffer is a valid input. May anyone
explain because I am getting this?
Your _apply function can be called with an eob input buffer in the
following situations:
- After returning PDF_ENOUTPUT. finish_p can be PDF_TRUE or
PDF_FALSE in this case.
- After returning PDF_ENINPUT. finish_p is PDF_TRUE in this case.
What is your specific situation?