diff options
author | ByteHamster <info@bytehamster.com> | 2022-01-22 15:41:22 +0100 |
---|---|---|
committer | ByteHamster <info@bytehamster.com> | 2022-01-22 23:09:32 +0100 |
commit | 1837ce30d1616639a327271be657a9ef40a575b9 (patch) | |
tree | 7a6b8690e28ceecc00bbc3b5cf92d2d989a2a435 | |
parent | b28a98067f45e541fcc7341226486dbb26c62516 (diff) | |
download | antennapod-1837ce30d1616639a327271be657a9ef40a575b9.zip |
MIME type is always ISO encoded
-rw-r--r-- | parser/media/src/main/java/de/danoeh/antennapod/parser/media/id3/ChapterReader.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/parser/media/src/main/java/de/danoeh/antennapod/parser/media/id3/ChapterReader.java b/parser/media/src/main/java/de/danoeh/antennapod/parser/media/id3/ChapterReader.java index 81bfa67b6..ac79432b5 100644 --- a/parser/media/src/main/java/de/danoeh/antennapod/parser/media/id3/ChapterReader.java +++ b/parser/media/src/main/java/de/danoeh/antennapod/parser/media/id3/ChapterReader.java @@ -82,7 +82,7 @@ public class ChapterReader extends ID3Reader { break; case FRAME_ID_PICTURE: byte encoding = readByte(); - String mime = readEncodedString(encoding, frameHeader.getSize()); + String mime = readIsoStringNullTerminated(frameHeader.getSize()); byte type = readByte(); String description = readEncodedString(encoding, frameHeader.getSize()); Log.d(TAG, "Found apic: " + mime + "," + description); |