[FFmpeg-cvslog] r18213 - trunk/libavformat/asfdec.c
rbultje
subversion
Sat Mar 28 04:54:32 CET 2009
Author: rbultje
Date: Sat Mar 28 04:54:31 2009
New Revision: 18213
Log:
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>.
Modified:
trunk/libavformat/asfdec.c
Modified: trunk/libavformat/asfdec.c
==============================================================================
--- trunk/libavformat/asfdec.c Sat Mar 28 01:53:52 2009 (r18212)
+++ trunk/libavformat/asfdec.c Sat Mar 28 04:54:31 2009 (r18213)
@@ -158,7 +158,7 @@ static void get_tag(AVFormatContext *s,
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);
}
More information about the ffmpeg-cvslog
mailing list