Commit caa47494 authored by michael's avatar michael

Skip over unknown extended_content_header tags.

fixes issue358


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@12347 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 0c96cbbd
...@@ -415,7 +415,8 @@ static int asf_read_header(AVFormatContext *s, AVFormatParameters *ap) ...@@ -415,7 +415,8 @@ static int asf_read_header(AVFormatContext *s, AVFormatParameters *ap)
value_num= get_value(pb, value_type); value_num= get_value(pb, value_type);
if (!strcmp(name,"WM/Track" ) && s->track == 0) s->track = value_num + 1; if (!strcmp(name,"WM/Track" ) && s->track == 0) s->track = value_num + 1;
if (!strcmp(name,"WM/TrackNumber")) s->track = value_num; if (!strcmp(name,"WM/TrackNumber")) s->track = value_num;
} }else
url_fskip(pb, value_len);
} }
} else if (!memcmp(&g, &metadata_header, sizeof(GUID))) { } else if (!memcmp(&g, &metadata_header, sizeof(GUID))) {
int n, stream_num, name_len, value_len, value_type, value_num; int n, stream_num, name_len, value_len, value_type, value_num;
......
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