summaryrefslogtreecommitdiffstats
path: root/libhb/reader.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/reader.c')
-rw-r--r--libhb/reader.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libhb/reader.c b/libhb/reader.c
index b06816d3d..0516932fb 100644
--- a/libhb/reader.c
+++ b/libhb/reader.c
@@ -334,7 +334,8 @@ static void ReaderFunc( void * _r )
( audio = hb_list_item( r->job->title->list_audio, n ) ) != NULL;
++n )
{
- push_buf( r, audio->priv.fifo_in, hb_buffer_init(0) );
+ if ( audio->priv.fifo_in )
+ push_buf( r, audio->priv.fifo_in, hb_buffer_init(0) );
}
hb_list_empty( &list );