Merge pull request #5321 from ByteHamster/skip-id3-extended-header
Skip id3 extended header if available
This commit is contained in:
commit
1bb9214095
|
@ -96,6 +96,10 @@ public class ID3Reader {
|
|||
short version = readShort();
|
||||
byte flags = readByte();
|
||||
int size = unsynchsafe(readInt());
|
||||
if ((flags & 0b01000000) != 0) {
|
||||
int extendedHeaderSize = readInt();
|
||||
skipBytes(extendedHeaderSize - 4);
|
||||
}
|
||||
return new TagHeader("ID3", size, version, flags);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue