MIME type is always ISO encoded

This commit is contained in:
ByteHamster 2022-01-22 15:41:22 +01:00
parent b28a98067f
commit 1837ce30d1
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ public class ChapterReader extends ID3Reader {
break; break;
case FRAME_ID_PICTURE: case FRAME_ID_PICTURE:
byte encoding = readByte(); byte encoding = readByte();
String mime = readEncodedString(encoding, frameHeader.getSize()); String mime = readIsoStringNullTerminated(frameHeader.getSize());
byte type = readByte(); byte type = readByte();
String description = readEncodedString(encoding, frameHeader.getSize()); String description = readEncodedString(encoding, frameHeader.getSize());
Log.d(TAG, "Found apic: " + mime + "," + description); Log.d(TAG, "Found apic: " + mime + "," + description);