changeset 3339:ee6e41ad0c69 libavformat

remove useless title check
author aurel
date Sat, 24 May 2008 12:55:36 +0000
parents 7370e3ec8bda
children 670503410b6b
files utils.c
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/utils.c	Sat May 24 00:03:00 2008 +0000
+++ b/utils.c	Sat May 24 12:55:36 2008 +0000
@@ -2261,7 +2261,6 @@
             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;