diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-03-06 00:26:48 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-03-06 00:26:48 +0000 |
commit | 11c55efa34ce55ea259233fa3920562cf385d78a (patch) | |
tree | a110f9a28c0cdd9ebdb385c861d9e68bdb5447b3 | |
parent | 16428e634824f27f6079efe378a09d66c9d4561e (diff) | |
download | ffmpeg-11c55efa34ce55ea259233fa3920562cf385d78a.tar.gz |
Skip over unknown extended_content_header tags.
fixes issue358
Originally committed as revision 12347 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/asf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/asf.c b/libavformat/asf.c index 638a42b6d8..3ba7ccc9e5 100644 --- a/libavformat/asf.c +++ b/libavformat/asf.c @@ -415,7 +415,8 @@ static int asf_read_header(AVFormatContext *s, AVFormatParameters *ap) value_num= get_value(pb, value_type); if (!strcmp(name,"WM/Track" ) && s->track == 0) s->track = value_num + 1; if (!strcmp(name,"WM/TrackNumber")) s->track = value_num; - } + }else + url_fskip(pb, value_len); } } else if (!memcmp(&g, &metadata_header, sizeof(GUID))) { int n, stream_num, name_len, value_len, value_type, value_num; |