diff options
author | Anton Khirnov <anton@khirnov.net> | 2020-09-11 19:32:43 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2020-10-01 11:16:17 +0200 |
commit | 33b4b788aac91dfd522415baaedcbda160482816 (patch) | |
tree | d98faf6fb9bbd1d66ea4a1ae53833490d79cd6b1 /libavcodec/opustab.c | |
parent | 3bf5cc9c588b41d4ba49821e57650dbbf187f932 (diff) | |
download | ffmpeg-33b4b788aac91dfd522415baaedcbda160482816.tar.gz |
opusdec: do not fail when LBRR frames are present
Decode and discard them.
Fixes ticket 4641.
Diffstat (limited to 'libavcodec/opustab.c')
-rw-r--r-- | libavcodec/opustab.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/opustab.c b/libavcodec/opustab.c index fb340e07e8..64070f8299 100644 --- a/libavcodec/opustab.c +++ b/libavcodec/opustab.c @@ -26,6 +26,9 @@ const uint8_t ff_opus_default_coupled_streams[] = { 0, 1, 1, 2, 2, 2, 2, 3 }; const uint8_t ff_celt_band_end[] = { 13, 17, 17, 19, 21 }; +const uint16_t ff_silk_model_lbrr_flags_40[] = { 256, 0, 53, 106, 256 }; +const uint16_t ff_silk_model_lbrr_flags_60[] = { 256, 0, 41, 61, 90, 131, 146, 174, 256 }; + const uint16_t ff_silk_model_stereo_s1[] = { 256, 7, 9, 10, 11, 12, 22, 46, 54, 55, 56, 59, 82, 174, 197, 200, 201, 202, 210, 234, 244, 245, 246, 247, 249, 256 |