aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/escape130.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-12-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: build: fix standalone compilation of OMA muxer build: fix standalone compilation of Microsoft XMV demuxer build: fix standalone compilation of Core Audio Format demuxer kvmc: fix invalid reads 4xm: Add a check in decode_i_frame to prevent buffer overreads adpcm: fix IMA SMJPEG decoding options: set minimum for "threads" to zero bsd: use number of logical CPUs as automatic thread count windows: use number of CPUs as automatic thread count linux: use number of CPUs as automatic thread count pthreads: reset active_thread_type when slice thread_init returrns early v410dec: include correct headers Drop ALT_ prefix from BITSTREAM_READER_LE name. lavfi: always build vsrc_buffer. ra144enc: zero the reflection coeffs if the filter is unstable sws: readd PAL8 to isPacked() mov: Don't stick the QuickTime field ordering atom in extradata. truespeech: fix invalid reads in truespeech_apply_twopoint_filter() Conflicts: configure libavcodec/4xm.c libavcodec/avcodec.h libavfilter/Makefile libavfilter/allfilters.c libavformat/Makefile libswscale/swscale_internal.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
* escape130: replace can_safely_read() by get_bits_left()Michael Niedermayer2011-12-081-6/+2
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* escape130: give all av_log() a contextMichael Niedermayer2011-12-081-2/+2
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* escape130: The minimum read in and after decode_skip_count() is 4 bits.Michael Niedermayer2011-12-081-1/+1
| | | | | | | | | Thus we can check for 4 being available. If the next block is skiped we need 4 bits to encode the skip. If the next block is not skiped then we need 1 bit for the skip code and at least 3 bits for the block. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* escape130: Check dimensions to be a multiple of the block size.Michael Niedermayer2011-12-081-0/+5
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Silence a warning when compiling Escape 130 decoder.Carl Eugen Hoyos2011-12-081-3/+3
| | | | | | | Fixes: libavcodec/escape130.c:177:17: warning: ISO C90 forbids mixed declarations and code Reviewed-by: Paul B Mahol
* escape130: 10l for myself for not initializing y_base.Michael Niedermayer2011-12-081-1/+1
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* escape130: Fix y_base handling, this fixes some artifacts, vissible in most ↵Michael Niedermayer2011-12-081-7/+16
| | | | | | videos. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* escape130: make sure cliping is done on signed values.Michael Niedermayer2011-12-081-1/+1
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* escape130: fix colorsPaul B Mahol2011-12-021-1/+1
|
* escape130: remove trailing whitespacePaul B Mahol2011-12-011-2/+2
|
* escape130: minimal effort to make it compile without warningsPaul B Mahol2011-12-011-12/+14
|
* Escape 130 (RPL) decoderEli Friedman2011-12-011-0/+307