remove useless title check

Originally committed as revision 13279 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Aurelien Jacobs 2008-05-24 12:55:36 +00:00
parent be2c232f43
commit 570745cc51
1 changed files with 0 additions and 1 deletions

View File

@ -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;