From 0dac708e2d31898ebccacdb5911b5496b1616989 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 23 May 2008 13:03:32 +0000 Subject: [PATCH] remove useless title check Originally committed as revision 13257 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 f9d50ce..d775a3d 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -2251,7 +2251,6 @@ int ff_new_chapter(AVFormatContext *s, int id, int64_t start, int64_t end, const } if(chapter->title) av_free(chapter->title); - if (title) chapter->title = av_strdup(title); chapter->id = id; chapter->start = start; -- 2.7.4