summaryrefslogtreecommitdiff
path: root/libavcodec/dca_xll.c
Commit message (Collapse)AuthorAge
* avcodec/avcodec: Stop including channel_layout.h in avcodec.hAndreas Rheinhardt2021-07-22
| | | | | | Also include channel_layout.h directly wherever used. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avcodec/dca: avoid using bitstream reader in a non-standard wayfoo862017-07-18
| | | | | | Use proper get_bits.h functions instead of directly accessing index. Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/dca_xll: Fix runtime error: signed integer overflow: 2147286116 + ↵Michael Niedermayer2017-03-12
| | | | | | | | | | 6298923 cannot be represented in type 'int' Fixes: 732/clusterfuzz-testcase-4872990070145024 See: [FFmpeg-devel] [PATCH 2/6] avcodec/dca_xll: Fix runtime error: signed integer overflow: 2147286116 + 6298923 cannot be represented in type 'int' Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/dca_xll: Fix runtime error: signed integer overflow: 1762028192 + ↵Michael Niedermayer2017-03-12
| | | | | | | | | 698372290 cannot be represented in type 'int' Fixes: 762/clusterfuzz-testcase-5927683747741696 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/dca: Fix multiple runtime error: signed integer overflowMichael Niedermayer2017-02-28
| | | | | | | | Fixes: 680/clusterfuzz-testcase-5416627266912256 Fixes: 681/clusterfuzz-testcase-5013323462475776 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/dca_xll: Fix runtime error: signed integer overflow: -1073741824 * ↵Michael Niedermayer2017-02-21
| | | | | | | | | 32768 cannot be represented in type 'int' Fixes: 629/clusterfuzz-testcase-6697457381539840 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/dca_xll: signed integer overflow: 255251 * 32768 cannot be ↵Michael Niedermayer2017-02-21
| | | | | | | | represented in type 'int' Fixes: 627/clusterfuzz-testcase-5020897033322496 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/dca: add support for 20-bit XLLfoo862017-01-07
| | | | | | | Fixes ticket #6063. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/dca: require checked bitstream readerfoo862016-05-31
| | | | | | | | | | | Remove half-working attempt at supporting unchecked bitstream reader by always copying input data into intermediate buffer with large amount of padding at the end. Convert LBR decoder to checked bitstream reader. Convert dcadec_decode_frame() to parse input data directly if possible. Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/dca: remove Rice code length limitfoo862016-05-20
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/dca: convert to AVCRCfoo862016-05-03
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/dca: simplify conditionfoo862016-03-03
| | | | | Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/dca: fix av_cold placement in declarationsfoo862016-03-03
| | | | | Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/dca: add new decoder based on libdcadecfoo862016-01-31
|
* avcodec/dca: remove old decoderfoo862016-01-31
| | | | | Remove all files and functions which are not going to be reused, and disable all functions and FATE tests temporarily which will be.
* dca_xll: use av_clip_intp2()James Almer2015-04-18
| | | | | Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: James Almer <jamrial@gmail.com>
* Merge commit 'c9ed48e80ef807ab0c1bb946ac8db5f34d83d9c9'Michael Niedermayer2015-03-17
|\ | | | | | | | | | | | | * commit 'c9ed48e80ef807ab0c1bb946ac8db5f34d83d9c9': dca: Read params->pancABIT0[param_index] only if part0 is set Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * dca: Read params->pancABIT0[param_index] only if part0 is setNiels Möller2015-03-17
| | | | | | | | Prevent a spurious read from uninitialized memory.
* | Merge commit '217e4ff4d1f845b76e44634e29371cd09313d1c2'Michael Niedermayer2015-03-15
|/ | | | | | | | | | | | | | | | | * commit '217e4ff4d1f845b76e44634e29371cd09313d1c2': dca: Support for XLL (lossless extension) Conflicts: Changelog doc/general.texi libavcodec/Makefile libavcodec/dca.h libavcodec/dca_exss.c libavcodec/dcadata.h libavcodec/dcadec.c libavcodec/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
* dca: Support for XLL (lossless extension)Niels Möller2015-03-15
Cleanup and integration by Diego Biurrun. Signed-off-by: Diego Biurrun <diego@biurrun.de>