diff options
Diffstat (limited to 'libhb/cropscale.c')
-rw-r--r-- | libhb/cropscale.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/cropscale.c b/libhb/cropscale.c index d1ef0f9bb..fc88e32a4 100644 --- a/libhb/cropscale.c +++ b/libhb/cropscale.c @@ -222,7 +222,7 @@ static int hb_crop_scale_work( hb_filter_object_t * filter, hb_filter_private_t * pv = filter->private_data; hb_buffer_t * in = *buf_in; - if ( in->size <= 0 ) + if (in->s.flags & HB_BUF_FLAG_EOF) { *buf_out = in; *buf_in = NULL; |