remove useless title check
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 23 May 2008 13:03:32 +0000 (13:03 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 23 May 2008 13:03:32 +0000 (13:03 +0000)
Originally committed as revision 13257 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/utils.c

index f9d50ce..d775a3d 100644 (file)
@@ -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;