[SCM] libav/experimental: remove useless title check

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:21:05 UTC 2013


The following commit has been merged in the experimental branch:
commit 0dac708e2d31898ebccacdb5911b5496b1616989
Author: Michael Niedermayer <michaelni at gmx.at>
Date:   Fri May 23 13:03:32 2008 +0000

    remove useless title check
    
    Originally committed as revision 13257 to svn://svn.ffmpeg.org/ffmpeg/trunk

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;

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list