diff options
Diffstat (limited to 'libhb/encx264.c')
-rw-r--r-- | libhb/encx264.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libhb/encx264.c b/libhb/encx264.c index f40903d9d..51ba5097e 100644 --- a/libhb/encx264.c +++ b/libhb/encx264.c @@ -566,6 +566,8 @@ int encx264Work( hb_work_object_t * w, hb_buffer_t ** buf_in, hb_work_private_t *pv = w->private_data; hb_buffer_t *in = *buf_in; + *buf_out = NULL; + if( in->size <= 0 ) { // EOF on input. Flush any frames still in the decoder then |