Commit 30897e76 authored by Aurelien Jacobs's avatar Aurelien Jacobs
Browse files

don't set a dummy chapter title when title is unknown

Originally committed as revision 13249 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 842ffee3
...@@ -2254,7 +2254,7 @@ matroska_parse_chapters(AVFormatContext *s) ...@@ -2254,7 +2254,7 @@ matroska_parse_chapters(AVFormatContext *s)
start = start * AV_TIME_BASE / 1000000000; start = start * AV_TIME_BASE / 1000000000;
if (end != AV_NOPTS_VALUE) if (end != AV_NOPTS_VALUE)
end = end * AV_TIME_BASE / 1000000000; 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); av_free(title);
break; break;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment