MIME type is always ISO encoded
This commit is contained in:
parent
b28a98067f
commit
1837ce30d1
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue