summaryrefslogtreecommitdiff
path: root/libavcodec/dirac_arith.h
Commit message (Collapse)AuthorAgeFilesLines
* avcodec/dirac_arith: Make table only used here staticAndreas Rheinhardt2020-12-311-1/+0
| | | | | Reviewed-by: Lynne <dev@lynne.ee> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
* avcodec/dirac_arith: Treat overread as errorMichael Niedermayer2019-01-161-0/+4
| | | | | | | | | | | Fixes: Timeout Fixes: 11663/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_DIRAC_fuzzer-5636791864918016 Before:Executed clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_DIRAC_fuzzer-5636791864918016 in 26006 ms After: Executed clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_DIRAC_fuzzer-5636791864918016 in 106 ms Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/diracdec: Propagate errors from dirac_get_arith_uint()Michael Niedermayer2019-01-161-0/+2
| | | | | | | Testcase: 11663/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_DIRAC_fuzzer-5636791864918016 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* dirac: make initialization of arithmetic coder tables threadsafe.Ronald S. Bultje2017-03-281-0/+1
|
* lavc/dirac_arith: Only compile x86 asm if ARCH_X86 is set.Carl Eugen Hoyos2014-12-021-1/+1
| | | | Fixes ticket #3544.
* avcodec/dirac_arith: fix integer overflowMichael Niedermayer2014-10-281-0/+4
| | | | | | Fixes: asan_heap-oob_1078676_9_008.drc Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/dirac_arith: Fix build with PIC and stack-check optionsAnthoine Bourgeois2014-04-091-1/+2
| | | | | | | | | | | Fixes Ticket3540 The function dirac_get_arith_bit in libavcodec/dirac_arith.h can't be built with PIC and check-stack because the asm code needs 6 registers and PIC and check-stack options take 1 each and x86 is quite limited in this area. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* dirac_arith: Fix unprotected inline asmDerek Buitenhuis2012-09-171-1/+1
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* Dirac: More formatingJordi Ortiz2011-10-301-1/+1
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* DIRAC Decoder stable version, MMX support removed.multiple authors2011-10-301-0/+190
Look for MMX_DISABLED to find the disabled functions. Authors of this code are Marco Gerards <marco@gnu.org> and David Conrad <lessen42@gmail.com> With changes from Jordi Ortiz <nenjordi@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>