diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2009-03-28 03:54:31 +0000 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2009-03-28 03:54:31 +0000 |
commit | be0395103af035d32f0e6bf57befe773849d742c (patch) | |
tree | 345bd0e19c3a58040bf440c48befd3089e21ff0f | |
parent | fa937faba442e3c8ce4ddf0b043cb75e4f21571f (diff) | |
download | ffmpeg-be0395103af035d32f0e6bf57befe773849d742c.tar.gz |
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
-rw-r--r-- | libavformat/asfdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/asfdec.c b/libavformat/asfdec.c index af0b752c4b..16956efa1c 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); } |