Commit 570745cc authored by Aurelien Jacobs's avatar Aurelien Jacobs

remove useless title check

Originally committed as revision 13279 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent be2c232f
......@@ -2261,7 +2261,6 @@ AVChapter *ff_new_chapter(AVFormatContext *s, int id, AVRational time_base, int6
return NULL;
dynarray_add(&s->chapters, &s->nb_chapters, chapter);
}
if(chapter->title)
av_free(chapter->title);
chapter->title = av_strdup(title);
chapter->id = id;
......
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