mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
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
This commit is contained in:
parent
fa937faba4
commit
be0395103a
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user