[SCM] libav/experimental: asfdec: don't strip the "WM/" prefix, this should be done during conversion. Patch by Anton Khirnov wyskas gmail com

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 17:01:44 UTC 2013


The following commit has been merged in the experimental branch:
commit e4ea625ab03c766945a16e30d689fcaabb2416b7
Author: Anton Khirnov <wyskas at gmail.com>
Date:   Thu Feb 25 16:38:23 2010 +0000

    asfdec: don't strip the "WM/" prefix, this should be done during conversion.
    Patch by Anton Khirnov wyskas gmail com
    
    Originally committed as revision 22057 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavformat/asfdec.c b/libavformat/asfdec.c
index bbc2be0..3a2f0e0 100644
--- a/libavformat/asfdec.c
+++ b/libavformat/asfdec.c
@@ -175,8 +175,6 @@ static void get_tag(AVFormatContext *s, const char *key, int type, int len)
         av_log(s, AV_LOG_DEBUG, "Unsupported value type %d in tag %s.\n", type, key);
         return;
     }
-    if (!strncmp(key, "WM/", 3))
-        key += 3;
     av_metadata_set2(&s->metadata, key, value, 0);
     av_freep(&value);
 }

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list