Commit 13891089 authored by aurel's avatar aurel

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@13249 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 5de7e62a
......@@ -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;
......
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