OSDN Git Service

asfdec: don't strip the "WM/" prefix, this should be done during conversion.
authorAnton Khirnov <wyskas@gmail.com>
Thu, 25 Feb 2010 16:38:23 +0000 (16:38 +0000)
committerBenoit Fouet <benoit.fouet@free.fr>
Thu, 25 Feb 2010 16:38:23 +0000 (16:38 +0000)
Patch by Anton Khirnov wyskas gmail com

Originally committed as revision 22057 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/asfdec.c

index bbc2be0..3a2f0e0 100644 (file)
@@ -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);
 }