Skip to content

Commit

Permalink
Another ID3 bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ojw28 committed Jan 17, 2017
1 parent f1e3d3f commit 1ffe775
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -560,6 +560,7 @@ private static ChapterTOCFrame decodeChapterTOCFrame(ParsableByteArray id3Data,
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<>();
Expand Down

0 comments on commit 1ffe775

Please sign in to comment.