From 570745cc5114ea13d0054f73776533f5e6e538f8 Mon Sep 17 00:00:00 2001 From: Aurelien Jacobs Date: Sat, 24 May 2008 12:55:36 +0000 Subject: [PATCH] remove useless title check Originally committed as revision 13279 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/utils.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavformat/utils.c b/libavformat/utils.c index 7faedccdcb..dbe6ea08e1 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -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;