[SCM] libav/experimental: don't set a dummy chapter title when title is unknown

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


The following commit has been merged in the experimental branch:
commit 30897e764a63c993bc3d9a24521a71b00e3e7940
Author: Aurelien Jacobs <aurel at gnuage.org>
Date:   Fri May 23 11:47:11 2008 +0000

    don't set a dummy chapter title when title is unknown
    
    Originally committed as revision 13249 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c
index b038267..1fdf399 100644
--- a/libavformat/matroskadec.c
+++ b/libavformat/matroskadec.c
@@ -2254,7 +2254,7 @@ matroska_parse_chapters(AVFormatContext *s)
                         start = start * AV_TIME_BASE / 1000000000;
                         if (end != AV_NOPTS_VALUE)
                             end = end * AV_TIME_BASE / 1000000000;
-                        res = ff_new_chapter(s, start, end, title ? title : "(unnamed)");
+                        res = ff_new_chapter(s, start, end, title);
                     }
                     av_free(title);
                     break;

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list