diff options
Diffstat (limited to 'libhb/reader.c')
-rw-r--r-- | libhb/reader.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libhb/reader.c b/libhb/reader.c index 9b8b6084e..0b9113d34 100644 --- a/libhb/reader.c +++ b/libhb/reader.c @@ -473,6 +473,13 @@ static int reader_work( hb_work_object_t * w, hb_buffer_t ** buf_in, return HB_WORK_DONE; } } + else + { + // This should never happen + hb_error("Stream not initialized"); + reader_send_eof(r); + return HB_WORK_DONE; + } (hb_demux[r->title->demuxer])(buf, &list, &r->demux); |