diff options
author | Marton Balint <cus@passwd.hu> | 2024-05-12 19:10:18 +0200 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2024-05-21 08:28:09 +0200 |
commit | b75e604fe5cd7da9ca713f20d1ade18d50319aff (patch) | |
tree | 51e58e78f03f5fcb1e26cb1d4c419d1ec586b8e6 /libavfilter/vulkan.c | |
parent | b0053172199b54a806a4147cda8567a2f1823bc0 (diff) | |
download | ffmpeg-b75e604fe5cd7da9ca713f20d1ade18d50319aff.tar.gz |
avformat/mp3dec: simplify inner frame size check in mp3_read_header
We are protecting the checked buffer with ffio_ensure_seekback(), so if the
inner check fails with a seek error, that likely means the end of file was
reached when checking for the next frame. This could also be the result of a
wrongly guessed (larger than normal) frame size, so let's continue the loop
instead of breaking out early. It will end sooner or later anyway.
Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavfilter/vulkan.c')
0 files changed, 0 insertions, 0 deletions