Go to file
Martin Storsjo 8f9f42c104 Don't try to shift more bits than the variable length
Shifting by more than (or equal to) the variable length is
undefined in C.

This caused the quantized spectrum values to remain unshifted,
causing loud beeps in some samples.

The exact same change was originally applied in
657456949 (for AOSP) and in 24021f190 (in the separate fdk-aac
repo), but was overwritten and silently reverted by the new
upstream code drop for Android 4.2 in 381d69840a. After the code
drop, I chose not to reapply this change since the crashes that
it fixed had been fixed in other ways upstream and I was unable to
reproduce them after the new code drop.
2013-02-17 02:21:26 +02:00
documentation Bug 7170947 Update AAC codec 2012-10-02 10:46:47 -07:00
libAACdec Bug 7170947 Update AAC codec 2012-10-02 10:46:47 -07:00
libAACenc Don't try to shift more bits than the variable length 2013-02-17 02:21:26 +02:00
libFDK Revert "Use __builtin_clz instead of default implementation of fixnormz on GCC" 2012-11-01 11:30:58 +02:00
libMpegTPDec Add NOTICE file. Rework make file so it appears in settings. 2012-06-12 10:34:26 -07:00
libMpegTPEnc Add NOTICE file. Rework make file so it appears in settings. 2012-06-12 10:34:26 -07:00
libPCMutils Bug 7170947 Update AAC codec 2012-10-02 10:46:47 -07:00
libSBRdec Bug 7170947 Update AAC codec 2012-10-02 10:46:47 -07:00
libSBRenc Rename sbr_rom/ram files back to the original names 2012-11-02 13:30:45 +02:00
libSYS Only use __int64 on MSVC, not on all win32 compilers 2012-11-01 11:30:40 +02:00
m4 build: ignore autotools support files, and remove them from the repository. 2012-07-11 22:13:08 +03:00
.gitignore Add an encoder example 2012-09-13 23:27:27 +03:00
aac-enc.c Add an encoder example 2012-09-13 23:27:27 +03:00
Android.mk Add NOTICE file. Rework make file so it appears in settings. 2012-06-12 10:34:26 -07:00
ChangeLog Add a changelog entry for 0.1.1, bump the version numbers 2012-11-13 23:47:12 +02:00
configure.ac Add a changelog entry for 0.1.1, bump the version numbers 2012-11-13 23:47:12 +02:00
fdk-aac.pc.in Add automake/autoconf source files 2012-07-11 14:28:02 +03:00
fdk-aac.sym Export the external symbols via the libtool -export-symbols option 2012-07-11 14:37:36 +03:00
Makefile.am Rename sbr_rom/ram files back to the original names 2012-11-02 13:30:45 +02:00
MODULE_LICENSE_FRAUNHOFER Add NOTICE file. Rework make file so it appears in settings. 2012-06-12 10:34:26 -07:00
NOTICE Add NOTICE file. Rework make file so it appears in settings. 2012-06-12 10:34:26 -07:00
wavreader.c Add an encoder example 2012-09-13 23:27:27 +03:00
wavreader.h Add an encoder example 2012-09-13 23:27:27 +03:00