diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2008-05-23 11:47:11 +0000 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2008-05-23 11:47:11 +0000 |
commit | 30897e764a63c993bc3d9a24521a71b00e3e7940 (patch) | |
tree | bdde860f7c791bb9cca5a9e6bc052686c775eed0 | |
parent | 842ffee3869c06b168167bb6cae6d42198e4e404 (diff) | |
download | ffmpeg-30897e764a63c993bc3d9a24521a71b00e3e7940.tar.gz |
don't set a dummy chapter title when title is unknown
Originally committed as revision 13249 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/matroskadec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c index b038267b5b..1fdf39910f 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; |