summaryrefslogtreecommitdiffstats
path: root/libavcodec/g723_1dec.c
Commit message (Collapse)AuthorAgeFilesLines
* avcodec/g723_1dec: fix invalid shift with negative sid_gainMichael Niedermayer2019-10-291-1/+1
| | | | | | | | | Fixes: left shift of negative value -1 Fixes: 18395/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_G723_1_fuzzer-5710313034350592 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/g723_1dec: Fix overflow in shiftMichael Niedermayer2019-10-161-0/+2
| | | | | | | | Fixes: shift exponent 1008 is too large for 32-bit type 'int' Fixes: 17700/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_G723_1_fuzzer-5707633436131328 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/g723_1dec: Fix invalid shiftAndreas Rheinhardt2019-09-201-1/+1
| | | | | | | Fixes the FATE-tests g723_1-dec-1, g723_1-dec-2 and g723_1-dec-4. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/g723_1dec: actually decode second channelPaul B Mahol2019-03-071-1/+2
|
* avcodec/g723_1dec: use init_get_bits8()Paul B Mahol2018-12-231-1/+4
|
* avcodec/g723_1dec: improve stereo supportPaul B Mahol2018-12-181-6/+9
|
* avcodec/g723_1dec: reindent after last commitPaul B Mahol2018-12-181-117/+117
|
* avcodec/g723_1: add support for stereo filesPaul B Mahol2018-12-181-23/+31
|
* avcodec/g723_1dec: Clip bits2 in both directionsMichael Niedermayer2018-05-271-1/+1
| | | | | | | | Fixes: shift exponent 33 is too large for 32-bit type 'int' Fixes: 6743/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_G723_1_fuzzer-5823772687859712 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/g723_1dec: Clip after shift in estimate_sid_gain()Michael Niedermayer2017-05-201-3/+9
| | | | | | | | | Fixes: runtime error: left shift of 706 by 22 places cannot be represented in type 'int' See: L_shl() in the reference software Fixes: 1609/clusterfuzz-testcase-minimized-5102163007111168 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/g723_1dec: Fix LCG typeMichael Niedermayer2017-05-141-1/+1
| | | | | | | Fixes: 1567/clusterfuzz-testcase-minimized-5693653555085312 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/g723_1dec: Fix runtime error: left shift of negative value -1Michael Niedermayer2017-05-121-2/+2
| | | | | | | Fixes: 1504/clusterfuzz-testcase-minimized-6249212138225664 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/g723_1dec: Fix several integer related cases of undefined behaviourMichael Niedermayer2017-05-091-4/+4
| | | | | | | Fixes: 1412/clusterfuzz-testcase-minimized-6561308772139008 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/g723_1: Fix multiple runtime error: left shift of negative valueMichael Niedermayer2017-05-061-2/+2
| | | | | | | Fixes: 1367/clusterfuzz-testcase-minimized-571496882346393 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* Merge commit 'b668662939de3a02454cfc9ba3e6d10b87527a40'Clément Bœsch2016-06-291-4/+5
|\ | | | | | | | | | | | | | | | | | | * commit 'b668662939de3a02454cfc9ba3e6d10b87527a40': get_bits: Move BITSTREAM_READER_LE definition before all relevant #includes The merge commit also includes changes for libavcodec/interplayacm.c and libavcodec/truemotion2rt.c Merged-by: Clément Bœsch <clement@stupeflix.com>
| * get_bits: Move BITSTREAM_READER_LE definition before all relevant #includesDiego Biurrun2016-06-071-4/+5
| | | | | | | | | | | | | | This avoids the danger that get_bits.h might get indirectly #included before BITSTREAM_READER_LE is defined. Also sort headers into canonical order where appropriate.
* | Merge commit '41ed7ab45fc693f7d7fc35664c0233f4c32d69bb'Clément Bœsch2016-06-211-2/+2
|\ \ | |/ | | | | | | | | | | * commit '41ed7ab45fc693f7d7fc35664c0233f4c32d69bb': cosmetics: Fix spelling mistakes Merged-by: Clément Bœsch <u@pkh.me>
| * cosmetics: Fix spelling mistakesVittorio Giovara2016-05-041-2/+2
| | | | | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* | Merge commit 'f023d57d355ff3b917f1aad9b03db5c293ec4244'Hendrik Leppkes2015-12-071-1145/+0
|\ \ | |/ | | | | | | | | | | | | | | * commit 'f023d57d355ff3b917f1aad9b03db5c293ec4244': lavc: G.723.1 encoder Split existing FFmpeg G.723.1 encoder into a new file. Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
* | Merge commit '165cc6fb9defcd79fd71c08167f3e8df26b058ff'Hendrik Leppkes2015-12-071-362/+50
|\ \ | |/ | | | | | | | | | | * commit '165cc6fb9defcd79fd71c08167f3e8df26b058ff': g723_1: Move sharable functions to a separate file Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * g723_1: Move sharable functions to a separate fileVittorio Giovara2015-11-301-369/+35
| | | | | | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | Merge commit 'aac996cc01042194bf621d845bbe684549b5882e'Hendrik Leppkes2015-12-071-99/+1205
|/ | | | | | | * commit 'aac996cc01042194bf621d845bbe684549b5882e': g723_1: Rename files to better reflect their purpose Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
* g723_1: Rename files to better reflect their purposeVittorio Giovara2015-11-301-0/+1378
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
OpenPOWER on IntegriCloud