[SCM] libav/experimental: Don't strip the first three characters off of any metadata in ASF file. See "[FFmpeg-devel] [PATCH] asf fix" thread. Patch contributed by David DeHaven <dave sagetv com>.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:42:43 UTC 2013


The following commit has been merged in the experimental branch:
commit be0395103af035d32f0e6bf57befe773849d742c
Author: Ronald S. Bultje <rsbultje at gmail.com>
Date:   Sat Mar 28 03:54:31 2009 +0000

    Don't strip the first three characters off of any metadata in ASF file.
    See "[FFmpeg-devel] [PATCH] asf fix" thread. Patch contributed by
    David DeHaven <dave sagetv com>.
    
    Originally committed as revision 18213 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavformat/asfdec.c b/libavformat/asfdec.c
index af0b752..16956ef 100644
--- a/libavformat/asfdec.c
+++ b/libavformat/asfdec.c
@@ -158,7 +158,7 @@ static void get_tag(AVFormatContext *s, const char *key, int type, int len)
         url_fskip(s->pb, len);
         return;
     }
-    if (strncmp(key, "WM/", 3))
+    if (!strncmp(key, "WM/", 3))
         key += 3;
     av_metadata_set(&s->metadata, key, value);
 }

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list