summaryrefslogtreecommitdiff
path: root/libavcodec/dca_lbr.c
Commit message (Collapse)AuthorAge
* avcodec/dca_lbr: Fix some error codes and error passingMichael Niedermayer2020-02-03
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/dca: move some enumeration typedefs into headersfoo862017-07-18
| | | | | | | These values will be used by the parser. Prefix them with DCA_ appropriately. Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/dca_lbr: Fix off by 1 error in freq checkMichael Niedermayer2017-02-02
| | | | | | | | Fixes out of array read Fixes: 510/clusterfuzz-testcase-5737865715646464 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: 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: use LUT for LBR frequency rangesfoo862016-05-20
| | | | | | | | | Values for unsupported frequencies > 48000 Hz are still included (parser will make use of them). Also convert sampling frequencies array to unsigned. Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/dca_lbr: Fix "warning: missing braces around initializer"Michael Niedermayer2016-05-11
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/dca_lbr: explicitly initialize structs with zeroHendrik Leppkes2016-05-11
| | | | This fixes build on MSVC and conforms to the usual init style used.
* avcodec/dca: add DTS Express (LBR) decoderfoo862016-05-10
Signed-off-by: James Almer <jamrial@gmail.com>