[FFmpeg-cvslog] r13279 - trunk/libavformat/utils.c

aurel subversion
Sat May 24 14:55:36 CEST 2008


Author: aurel
Date: Sat May 24 14:55:36 2008
New Revision: 13279

Log:
remove useless title check

Modified:
   trunk/libavformat/utils.c

Modified: trunk/libavformat/utils.c
==============================================================================
--- trunk/libavformat/utils.c	(original)
+++ trunk/libavformat/utils.c	Sat May 24 14:55:36 2008
@@ -2261,7 +2261,6 @@ AVChapter *ff_new_chapter(AVFormatContex
             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;




More information about the ffmpeg-cvslog mailing list