Commit 18854887 authored by Anton Khirnov's avatar Anton Khirnov Committed by Justin Ruggles
Browse files

id3v2: don't explicitly skip padding

It's pointless, since there's a seek to the end of tag later.
parent b58b9fa3
...@@ -279,10 +279,6 @@ static void ff_id3v2_parse(AVFormatContext *s, int len, uint8_t version, uint8_t ...@@ -279,10 +279,6 @@ static void ff_id3v2_parse(AVFormatContext *s, int len, uint8_t version, uint8_t
avio_seek(s->pb, next, SEEK_SET); avio_seek(s->pb, next, SEEK_SET);
} }
if (len > 0) {
/* Skip padding */
avio_skip(s->pb, len);
}
if (version == 4 && flags & 0x10) /* Footer preset, always 10 bytes, skip over it */ if (version == 4 && flags & 0x10) /* Footer preset, always 10 bytes, skip over it */
end += 10; end += 10;
......
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