summaryrefslogtreecommitdiffstats
path: root/libhb/declpcm.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/declpcm.c')
-rw-r--r--libhb/declpcm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/declpcm.c b/libhb/declpcm.c
index 42cc13e50..c85c803e9 100644
--- a/libhb/declpcm.c
+++ b/libhb/declpcm.c
@@ -189,7 +189,7 @@ static int declpcmWork( hb_work_object_t * w, hb_buffer_t ** buf_in,
hb_buffer_t *in = *buf_in;
hb_buffer_t *buf = NULL;
- if ( in->size <= 0 )
+ if (in->s.flags & HB_BUF_FLAG_EOF)
{
/* EOF on input stream - send it downstream & say that we're done */
*buf_out = in;