fdk-aac/libDRCdec
Martin Storsjo 28fcbe9fae Don't use an enum for a value read directly from the bitstream
The enum only defined values 1-7, while the variable can be set
to any value between 0 and 15 that is read from the bitstream
by FDKreadBits(hBs, 4).

This fixes undefined behaviour sanitizer errors.

Fixes: 19500/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_LIBFDK_AAC_fuzzer-5730449188192256

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
2020-01-09 10:26:25 +02:00
..
include Fix HE-AAC using MPEG-D DRC with implicit SBR signaling. 2019-05-13 15:24:51 -07:00
src Don't use an enum for a value read directly from the bitstream 2020-01-09 10:26:25 +02:00