summaryrefslogtreecommitdiffstats
path: root/libhb/deblock.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/deblock.c')
-rw-r--r--libhb/deblock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/deblock.c b/libhb/deblock.c
index 5acb3f5d0..e05f2e21e 100644
--- a/libhb/deblock.c
+++ b/libhb/deblock.c
@@ -400,7 +400,7 @@ static int hb_deblock_work( hb_filter_object_t * filter,
hb_filter_private_t * pv = filter->private_data;
hb_buffer_t * in = *buf_in, * out;
- if ( in->size <= 0 )
+ if (in->s.flags & HB_BUF_FLAG_EOF)
{
*buf_out = in;
*buf_in = NULL;