mirror of
https://github.com/samsonjs/media.git
synced 2026-04-13 12:35:48 +00:00
Improved ID3 chapter parsing code from feedback given.
This commit is contained in:
parent
5153e9e977
commit
f6ecaddc88
1 changed files with 1 additions and 1 deletions
|
|
@ -505,7 +505,7 @@ public final class Id3Decoder implements MetadataDecoder {
|
|||
}
|
||||
if (frame instanceof TextInformationFrame) {
|
||||
TextInformationFrame textFrame = (TextInformationFrame)frame;
|
||||
if (textFrame.id != null && textFrame.id.equals("TIT2")) {
|
||||
if ("TIT2".equals(textFrame.id)) {
|
||||
title = textFrame.description;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue