summaryrefslogtreecommitdiff
path: root/lib/rbcodec/metadata/aac.c
diff options
context:
space:
mode:
authorRoman Artiukhin <bahusdrive@gmail.com>2024-01-12 18:30:30 +0200
committerRoman Artiukhin <bahusdrive@gmail.com>2024-01-12 18:30:30 +0200
commit3080892d2100342cfdd3c714c2ccf9fd65120563 (patch)
tree60296658c4378c9fb9fb07e2560f9476be1404cf /lib/rbcodec/metadata/aac.c
parentde16065265fd93b68265c348d9748b161a7c660d (diff)
downloadrockbox-3080892d2100342cfdd3c714c2ccf9fd65120563.tar.gz
rockbox-3080892d2100342cfdd3c714c2ccf9fd65120563.zip
Codecs: mp4: Re-Fix loading tracks with metadata at the end of file
first_frame_offset is not set for mp4 files so seeking to it doesn't make any sense. It can lead only to additional re-buffer request. So instead let's just allow seek back for m4a_check_sample_offset check. And do seek_buffer(0) before reading metadata (fixes possible hang introduced in fc65bdab) Change-Id: Ia7fae14b0137d73b5e263390be5f143deb7ca789
Diffstat (limited to 'lib/rbcodec/metadata/aac.c')
0 files changed, 0 insertions, 0 deletions