mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Tweak Id3Decoder error message to print hex instead of int
Before: "Unexpected first three bytes of ID3 tag header: 6845556" After: "Unexpected first three bytes of ID3 tag header: 0x687474" PiperOrigin-RevId: 271949486
This commit is contained in:
parent
36d3fef2b5
commit
bab12af597
1 changed files with 1 additions and 1 deletions
|
|
@ -163,7 +163,7 @@ public final class Id3Decoder implements MetadataDecoder {
|
||||||
|
|
||||||
int id = data.readUnsignedInt24();
|
int id = data.readUnsignedInt24();
|
||||||
if (id != ID3_TAG) {
|
if (id != ID3_TAG) {
|
||||||
Log.w(TAG, "Unexpected first three bytes of ID3 tag header: " + id);
|
Log.w(TAG, "Unexpected first three bytes of ID3 tag header: 0x" + String.format("%06X", id));
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue