mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-19 22:10:34 +00:00
aacsbr: silence message for SBR extension "padding".
Some files contain a few additional, all-0 bits. Check for that case and don't print incorrect "not supported" message. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> Signed-off-by: Alex Converse <alex.converse@gmail.com>
This commit is contained in:
parent
d615187f74
commit
8c1ce7787a
@ -929,6 +929,8 @@ static void read_sbr_extension(AACContext *ac, SpectralBandReplication *sbr,
|
||||
}
|
||||
break;
|
||||
default:
|
||||
// some files contain 0-padding
|
||||
if (bs_extension_id || *num_bits_left > 16 || show_bits(gb, *num_bits_left))
|
||||
avpriv_request_sample(ac->avctx, "Reserved SBR extensions");
|
||||
skip_bits_long(gb, *num_bits_left); // bs_fill_bits
|
||||
*num_bits_left = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user