Go to file
Martin Storsjo 3a831a5fbc Avoid undefined shifts in SATURATE_SHIFT
Make sure that the shift amount is less than the size of the shifted
value, otherwise return the saturation max values (for left shift, if
the source values was nonzero) or zero (for right shift, or zero
shifted left).

Fixes: 24376/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_LIBFDK_AAC_fuzzer-6529411206348800

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
2020-09-02 12:56:41 +03:00
documentation MPEG-4/D DRC unification, loudness norm default at -24 2019-04-25 09:35:00 -07:00
libAACdec Avoid undefined shifts 2020-06-22 13:28:10 +03:00
libAACenc Merge remote-tracking branch 'aosp/master' 2019-10-08 14:53:07 +03:00
libArithCoding Improve error robustness in arithmetic decoder 2018-12-26 19:34:16 -05:00
libDRCdec Don't use an enum for a value read directly from the bitstream 2020-01-09 10:26:25 +02:00
libFDK Avoid undefined shifts in SATURATE_SHIFT 2020-09-02 12:56:41 +03:00
libMpegTPDec Don't use an enum for a value read directly from the bitstream 2020-07-17 22:51:34 +03:00
libMpegTPEnc Add AOT specific number of qmf bands sanity check in SpatialSpecificConfig() 2019-01-03 10:25:40 -05:00
libPCMutils Avoid a failed assert on invalid channel indices 2019-08-15 13:14:40 +03:00
libSACdec Don't store a value read directly from the bitstream in an enum 2020-06-12 10:29:11 +03:00
libSACenc FDKv2 additional fixes 2018-05-04 11:05:58 -07:00
libSBRdec Revert "Reapply: Avoid reading out of bounds due to negative aaIccIndexMapped" 2019-10-08 15:10:34 +03:00
libSBRenc FDKv2 ubsan patches 2018-05-23 12:19:40 -07:00
libSYS Fix FDK_FALLTHROUGH for apple clang 2019-01-21 16:14:06 +02:00
m4 build: ignore autotools support files, and remove them from the repository. 2012-07-11 22:13:08 +03:00
win32 Windows MSVC Makefile 2016-09-11 13:28:30 +03:00
.clang-format Upgrade to FDKv2 2018-04-19 11:21:15 -07:00
.gitignore Ignore file `compile` that is generated by autogen 2014-11-24 16:13:15 -05:00
Android.bp Don't explicitly enable CFI in libFraunhoferAAC 2019-01-18 16:37:25 -08:00
ChangeLog Bump the versions and add a changelog entry for v2.0.1 2019-10-08 14:30:16 +03:00
MODULE_LICENSE_FRAUNHOFER Add NOTICE file. Rework make file so it appears in settings. 2012-06-12 10:34:26 -07:00
Makefile.am Reorder source file lists in Makefile.am into alphabetical order 2018-09-02 23:17:33 +03:00
Makefile.vc Remove an unused version declaration from Makefile.vc 2019-01-30 10:08:01 +02:00
NOTICE Upgrade to FDKv2 2018-04-19 11:21:15 -07:00
OWNERS Add OWNERS in external/aac 2017-06-05 10:10:15 -07:00
aac-enc.c Adjust the aac-enc.c encoding example to fix flushing the encoder with FDKv2 2018-09-02 23:25:42 +03:00
autogen.sh Add an autogen shellscript 2013-09-07 18:32:50 +03:00
configure.ac Bump the versions and add a changelog entry for v2.0.1 2019-10-08 14:30:16 +03:00
fdk-aac.pc.in Include dependency libs (-lm) in the pkg-config file 2013-07-27 02:01:33 +03:00
fdk-aac.sym Export the external symbols via the libtool -export-symbols option 2012-07-11 14:37:36 +03:00
wavreader.c Add support for waveformatex files 2014-06-23 10:45:50 +03:00
wavreader.h Add an encoder example 2012-09-13 23:27:27 +03:00