summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2018-09-25README: updatefedoraWim Taymans1-1/+1
2018-09-25Add README.fedoraWim Taymans2-0/+5
2018-09-25Fix size of structWim Taymans1-0/+1
2018-09-25Remove TNSWim Taymans19-2093/+8
2018-09-25Strip minimal decoder and encoderWim Taymans141-53414/+54
2018-03-06Bump the versions and add a changelog entry for v0.1.6Martin Storsjo2-2/+6
2018-03-06Fix warnings with MSVC about mismatch between signed and unsigned in a headerMartin Storsjo1-2/+2
2018-03-06Update the list of extra files for "make dist"Martin Storsjo1-1/+2
2018-03-06Merge remote-tracking branch 'aosp/master'Martin Storsjo3-1/+6
2017-12-20Fix SBR multichannel noiseezicomezigo1-1/+1
for 5.1 ch, the channel elements are as follows: SCE - CPE - CPE - LFE and the channel-mapping table for 5.1 ch is : { 2, 0, 1, 4, 5, 3,255,255}, /* 5.1ch */ For the last LFE channel, sbr decoder returns error, SBRDEC_UNSUPPORTED_CONFIG;
2017-12-20Fix an assertion failure when encoding a particular input at specific bitratesMartin Storsjo1-0/+1
2017-12-06Merge "DO NOT MERGE: Merge Oreo MR1 into master"Xin Li1-0/+1
2017-12-06DO NOT MERGE: Merge Oreo MR1 into masterXin Li1-0/+1
Exempt-From-Owner-Approval: Changes already landed internally Change-Id: I66dea07398b42d99d5d1373dbbc6d28752c04193
2017-11-20Avoid reading out of bounds due to too large aaIidIndexMappedMartin Storsjo1-3/+8
Fixes: 4151/clusterfuzz-testcase-4854089193095168 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
2017-10-30Fix an assertion failure (avoid division by zero) when encoding a particular ↵Martin Storsjo1-0/+3
input
2017-10-20Avoid reading out of bounds due to negative aaIccIndexMappedMartin Storsjo1-3/+6
Fixes: 3452/clusterfuzz-testcase-4898065225875456 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
2017-10-20Add tighter sanity checks in CBlock_GetEscapeMartin Storsjo1-1/+1
We can't read 31 bits of value here, since that would place the topmost bit in the sign bit. Fixes: 3480/clusterfuzz-testcase-4573445423628288 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
2017-10-07Merge "Use -Werror in external/aac" am: f38aee2252 am: 82440fab16Chih-Hung Hsieh1-0/+2
am: 5a1868a64f Change-Id: I4beb4b05f00077e1c7cbcc5ae197001c6251af09
2017-10-07Merge "Use -Werror in external/aac" am: f38aee2252Chih-Hung Hsieh1-0/+2
am: 82440fab16 Change-Id: I3cee76ab540b54b4ef6d6bdb891fc53fd0ec562d
2017-10-07Merge "Use -Werror in external/aac"Chih-Hung Hsieh1-0/+2
am: f38aee2252 Change-Id: I65c18c6eb45de16da43e862068929e9a9695caf7
2017-10-07Merge "Use -Werror in external/aac"Treehugger Robot1-0/+2
2017-10-06Use -Werror in external/aacChih-Hung Hsieh1-0/+2
Bug: 66996870 Test: build with WITH_TIDY=1 Exempt-From-Owner-Approval: Colin +2 should be the owner approval Change-Id: I167f73ee9dc5e977fd6976f48732ae1e1fe13c8b
2017-09-20Make sure there are enough bits when reading ADTS header.Doug Benedict1-0/+3
2017-08-18Adjust the fix for infinite loops with a drained ADTS streamMartin Storsjo1-1/+3
This should have less risk of causing other issues.
2017-08-18Enhance TNS tuning for 8 kHz audio sampling rateMartin Storsjo1-1/+1
This tuning has been suggested by Fraunhofer, fixing overflows in encoding certain sequences.
2017-08-15Always feed more input data when possible for ADTSMartin Storsjo1-3/+1
This fixes cases where an ADTS header could set numberOfRawDataBlocks to a number larger than 1, which would lead to transportDec_FillData not feeding any more data, even though the input buffer was depleted. Fixes: 3014/clusterfuzz-testcase-5425740193464320 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
2017-08-15Check that pSettings is initializedMartin Storsjo1-0/+4
Fixes: 2872/clusterfuzz-testcminimized-4529959869612032 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
2017-08-10Make software codecs as VNDKJiyong Park1-0/+1
am: a4aa860efb Change-Id: I662a0675e67bd421b2b3c02391c25cf38f39d84f
2017-08-07Make software codecs as VNDKJiyong Park1-0/+1
Software codecs and their dependencies are marked as VNDK (or just vendor_available:true for static/header libs). Bug: 37343418 Test: build the software codecs with BOARD_VNDK_VERSION=current Change-Id: I9ecedb5a95abc9978ff7ed3538bd2dedec750c7d
2017-08-03Check for heightLayer out of rangeMartin Storsjo1-0/+12
Alternatively, the bits read in CProgramConfig_ReadHeightExt could be checked right there instead. Fixes: 2802/clusterfuzz-testcase-minimized-6752357788418048 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
2017-08-03Make sure at least one bit exists before reading further in FDKreadBitMartin Storsjo1-1/+5
Fixes: 2709/clusterfuzz-testcase-minimized-6160249369133056 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
2017-08-03Check that all channel mapping entries used are validMartin Storsjo1-0/+3
If channel numbers are changed on the fly (in invalid bitstreams), we can end up with a channel mapping with fewer channels mapped than we actually try to output. Ideally, this condition should probably be checked somewhere closer to where it enters such a state, not when using the channel mapping though. Fixes: 2808/clusterfuzz-testcase-minimized-4694952892170240 Fixes: 2275/clusterfuzz-testcase-minimized-6205444085252096 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
2017-06-22Re-fix "Stack-buffer-overflow in FDKmemset"Martin Storsjo1-0/+4
This probably doesn't fix the root cause, but at least fixes the issues found in this particular fuzzed sample. Compared to the previous fix in 39e13c1acbca94f562f9776e1555ced50dd0dfcd, this doesn't break HE-AACv2 encoding, by allowing the case with usb==no_channels. Fixes: 1973/clusterfuzz-testcase-minimized-6319232084082688 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
2017-06-22Revert "Fix "Stack-buffer-overflow in FDKmemset""Martin Storsjo1-4/+0
This reverts commit 39e13c1acbca94f562f9776e1555ced50dd0dfcd. This turned out to break HE-AACv2 encoding. Will look for a better fix for the issue found by the fuzzed sample. This fixes issue #69.
2017-06-12Check that the SBR decoder has been properly initializedMartin Storsjo1-0/+4
This probably doesn't fix the root cause, but at least fixes the issues found in this particular fuzzed sample. Fixes: 1994/clusterfuzz-testcase-minimized-6368089497141248 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
2017-06-12Fix "Stack-buffer-overflow in FDKmemset"Martin Storsjo1-0/+4
This probably doesn't fix the root cause, but at least fixes the issues found in this particular fuzzed sample. Fixes: 1973/clusterfuzz-testcase-minimized-6319232084082688 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
2017-06-12Make sure to end all CRC regions in the right orderMartin Storsjo1-1/+16
This fixes assert failures, when a (corrupt/fuzzed) bitstream doesn't trigger starting/ending CRCs properly (or when decoding is aborted halfway when an error is encountered). Skipping ending a CRC region doesn't trigger an assert failure, but when a later CRC region is started and ended, an assert fails when the end doesn't match the expected CRC region. Fixes: 1928/clusterfuzz-testcase-minimized-6480505958563840 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
2017-06-12Don't try to read a negative number of bitsMartin Storsjo1-1/+1
Fixes: 1919/clusterfuzz-testcase-minimized-5021082513833984 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
2017-06-12Avoid infinite loops in block decodingMartin Storsjo1-0/+3
Fixes: 1921/clusterfuzz-testcase-minimized-5480510065213440 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
2017-06-05Merge "Add OWNERS in external/aac" am: db59691026 am: 6f8a59ff40 am: e10e3d33cfChih-Hung Hsieh1-0/+2
am: 32b8bd3dc9 Change-Id: Icbfbce61951a55c3cfa106bdf0bb7f84da2ca453
2017-06-05Merge "Add OWNERS in external/aac" am: db59691026 am: 6f8a59ff40Chih-Hung Hsieh1-0/+2
am: e10e3d33cf Change-Id: I3b51a11cc119ebc35aab051c21133a1476db5a0a
2017-06-05Merge "Add OWNERS in external/aac" am: db59691026Chih-Hung Hsieh1-0/+2
am: 6f8a59ff40 Change-Id: I236f2028ad5ae6e14ee0655456d4d42b785bdc45
2017-06-05Merge "Add OWNERS in external/aac"Chih-Hung Hsieh1-0/+2
am: db59691026 Change-Id: Id365d26e05abceec99ddac2e727483d4b294d63d
2017-06-05Merge "Add OWNERS in external/aac"Treehugger Robot1-0/+2
2017-06-05Add OWNERS in external/aacChih-Hung Hsieh1-0/+2
Owners are selected from top CL approvals or owners. They will be suggested to review/approve future CLs. Test: build/make/tools/checkowners.py -c -v OWNERS Change-Id: Iacb2e068189b39030a218b6496ca41a0bd4ce7d2
2017-04-26Try to properly handle the case when the bitstream reader runs out of bits ↵Martin Storsjo1-1/+15
to read
2017-04-23Add checks to avoid overreading supplied buffers and fix issue #61.Robert Kausch2-20/+45
2017-03-14Saturate additions in spectralChangeMartin Storsjo1-2/+2
This fixes a crash.
2017-03-14Merge remote-tracking branch 'aosp/master'Martin Storsjo4-78/+42
2017-02-23Merge "Fix not properly handled NULL-pointer access before check in aac lib" ↵liuchao2-19/+10
am: b0af861f5a am: b0f6b2906e am: ef9be61680 Change-Id: Ibfe81134a2089946800580538775faaa1bbe00ef