Another ID3 bug fix

This commit is contained in:
Oliver Woodman 2017-01-17 17:37:33 +00:00
parent f1e3d3f244
commit 1ffe7753c6

View file

@ -560,6 +560,7 @@ public final class Id3Decoder implements MetadataDecoder {
int startIndex = id3Data.getPosition();
int endIndex = indexOfZeroByte(id3Data.data, startIndex);
children[i] = new String(id3Data.data, startIndex, endIndex - startIndex, "ISO-8859-1");
id3Data.setPosition(endIndex + 1);
}
ArrayList<Id3Frame> subFrames = new ArrayList<>();