remove useless title check
Originally committed as revision 13279 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
be2c232f43
commit
570745cc51
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user