Commit 0679c8d4 authored by rbultje's avatar rbultje

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>.



git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18213 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent daa82b48
...@@ -158,7 +158,7 @@ static void get_tag(AVFormatContext *s, const char *key, int type, int len) ...@@ -158,7 +158,7 @@ static void get_tag(AVFormatContext *s, const char *key, int type, int len)
url_fskip(s->pb, len); url_fskip(s->pb, len);
return; return;
} }
if (strncmp(key, "WM/", 3)) if (!strncmp(key, "WM/", 3))
key += 3; key += 3;
av_metadata_set(&s->metadata, key, value); av_metadata_set(&s->metadata, key, value);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment