diff options
Diffstat (limited to 'libhb')
-rw-r--r-- | libhb/work.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libhb/work.c b/libhb/work.c index d8fc4d98d..68bb6fe2f 100644 --- a/libhb/work.c +++ b/libhb/work.c @@ -1181,6 +1181,9 @@ static void work_loop( void * _w ) break; } + // Invalidate buf_out so that if there is no output + // we don't try to pass along junk. + buf_out = NULL; w->status = w->work( w, &buf_in, &buf_out ); // Propagate any chapter breaks for the worker if and only if the |