summaryrefslogtreecommitdiffstats
path: root/libhb
diff options
context:
space:
mode:
Diffstat (limited to 'libhb')
-rw-r--r--libhb/stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/stream.c b/libhb/stream.c
index 3fb7ca5a2..5cc2d6618 100644
--- a/libhb/stream.c
+++ b/libhb/stream.c
@@ -5569,7 +5569,7 @@ static hb_title_t *ffmpeg_title_scan( hb_stream_t *stream, hb_title_t *title )
/* Ignore generic chapter names set by MakeMKV
* ("Chapter 00" etc.).
* Our default chapter names are better. */
- if( tag && tag->value &&
+ if( tag && tag->value && tag->value[0] &&
( strncmp( "Chapter ", tag->value, 8 ) ||
strlen( tag->value ) > 11 ) )
{