From 30897e764a63c993bc3d9a24521a71b00e3e7940 Mon Sep 17 00:00:00 2001 From: Aurelien Jacobs Date: Fri, 23 May 2008 11:47:11 +0000 Subject: [PATCH] don't set a dummy chapter title when title is unknown Originally committed as revision 13249 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/matroskadec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c index b038267..1fdf399 100644 --- a/libavformat/matroskadec.c +++ b/libavformat/matroskadec.c @@ -2254,7 +2254,7 @@ matroska_parse_chapters(AVFormatContext *s) start = start * AV_TIME_BASE / 1000000000; if (end != AV_NOPTS_VALUE) end = end * AV_TIME_BASE / 1000000000; - res = ff_new_chapter(s, start, end, title ? title : "(unnamed)"); + res = ff_new_chapter(s, start, end, title); } av_free(title); break; -- 2.7.4