Simplify logic to handle FLAC files with ID3 header.
LibFlac internally can skip ID3 tags correctly. Therefore, we don't need to keep track of the whole ID3 header section and skip through this section in Java code. We can just set the whole stream to the native library, and it will handle skipping ID3 tags correctly. The only thing that the Java part need to do is peeking and parsing ID3 tags (if present), in order to populate the track format metadata. GitHub: #4055. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=193327602
Showing
with
13 additions
and
33 deletions
Please
register
or
sign in
to comment