diff options
Diffstat (limited to 'libhb/nlmeans.c')
-rw-r--r-- | libhb/nlmeans.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/nlmeans.c b/libhb/nlmeans.c index e0aac23c7..3e78ab95a 100644 --- a/libhb/nlmeans.c +++ b/libhb/nlmeans.c @@ -1160,7 +1160,7 @@ static int nlmeans_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) { hb_buffer_t *last; // Flush buffered frames |