summaryrefslogtreecommitdiff
path: root/libavcodec/ivi_common.c
Commit message (Collapse)AuthorAge
* ivi_common: stop using deprecated avcodec_set_dimensionsAnton Khirnov2013-10-31
|
* ivi_common: Make sure color planes have been initializedMartin Storsjö2013-09-17
| | | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* ivi_common: Make some tables only used within the file staticDiego Biurrun2013-08-15
|
* indeo: Reject impossible FRAMETYPE_NULLLuca Barbato2013-07-15
| | | | | | | | A frame marked FRAMETYPE_NULL cannot be scalable and requires a previous frame successfully decoded. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* indeo: Do not reference mismatched tilesLuca Barbato2013-07-15
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* indeo: Sanitize ff_ivi_init_planes fail pathsLuca Barbato2013-07-15
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* indeo: Bound-check before applying motion compensationLuca Barbato2013-07-15
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* indeo: Bound-check before applying transformLuca Barbato2013-07-13
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* indeo: reject negative array indexesLuca Barbato2013-07-04
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* indeo: Cosmetic formattingLuca Barbato2013-07-04
| | | | Trim some overly long lines.
* indeo: Refactor ff_ivi_init_tiles and ivi_decode_blocksLuca Barbato2013-07-04
| | | | | Spin large and mostly self contained blocks into stand alone functions.
* indeo: Refactor ff_ivi_dec_huff_descLuca Barbato2013-07-04
| | | | Spare an indentation level.
* indeo: use a typedef for the mc function pointerLuca Barbato2013-07-04
|
* indeo: check for reference when inheriting mvsLuca Barbato2013-07-01
| | | | | | | The same is done already for qdelta. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* indeo: use proper error codeLuca Barbato2013-07-01
|
* indeo: Properly forward the error codesLuca Barbato2013-07-01
| | | | | | | | If the tile data size does not match the buffer size it did not return an AVERROR_INVALIDDATA causing futher corruption later. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* indeo4: expand allowed quantiser rangeKostya Shishkov2013-06-01
| | | | | | | | Indeo 4 has quantiser range 0-31 instead of 0-23 for Indeo 5, and clipping quantiser leads to incorrect quantisation and DC prediction on low-quality videos. This fixes bug 259.
* avcodec: Add av_cold attributes to init functions missing themDiego Biurrun2013-05-04
|
* ivi_common: do not call MC for intra frames when dc_transform is unsetAnton Khirnov2013-03-08
| | | | CC:libav-stable@libav.org
* lavc decoders: work with refcounted frames.Anton Khirnov2013-03-08
|
* ivi_common: check that scan pattern is set before using it.Anton Khirnov2012-12-14
| | | | | | Fixes CVE-2012-2791. CC: libav-stable@libav.org
* ivi_common: use proper logging context in ivi_decode_blocks().Anton Khirnov2012-12-14
|
* ivi_common: make some functions and tables static.Anton Khirnov2012-12-14
|
* lavc: fix decode_frame() third parameter semantics for video decodersAnton Khirnov2012-12-04
| | | | It's got_frame, not data size
* lavc: add a wrapper for AVCodecContext.get_buffer().Anton Khirnov2012-12-04
| | | | It will be useful in the upcoming transition to refcounted AVFrames.
* ivi_common: Drop unused function parameter from decode_band()Diego Biurrun2012-10-26
|
* Move av_reverse table to libavcodecDiego Biurrun2012-10-12
| | | | It is only used in that library.
* indeo4/5: remove constant parameter num_bands from wavelet recompositionJanne Grunau2012-10-10
| | | | Fixes bogus uninitialized value compiler and coverity warnings.
* indeo4/5: check empty tile size in decode_mb_info().Anton Khirnov2012-09-29
| | | | | | | | | | | | | This prevents writing into a too small array if some parameters changed without the tile being reallocated. Based on a patch by Michael Niedermayer <michaelni@gmx.at> Fixes CVE-2012-2800 CC:libav-stable@libav.org Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
* ivi_common: make ff_ivi_process_empty_tile() static.Anton Khirnov2012-09-29
| | | | It's not used outside of ivi_common.c
* indeo4: update AVCodecContext width/height on size changeMichael Niedermayer2012-09-29
| | | | | | | Fixes CVE-2012-2787 Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Anton Khirnov <anton@khirnov.net>
* indeo5dec: Make sure we have had a valid gop header.Michael Niedermayer2012-09-29
| | | | | | | | | This prevents decoding happening on a half initialized context. Fixes CVE-2012-2779 Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Anton Khirnov <anton@khirnov.net>
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-07
|
* indeo: Make ivi_calc_band_checksum() static, it is only used in one file.Diego Biurrun2012-05-20
|
* indeo: Drop unused debug function ivi_check_band().Diego Biurrun2012-05-20
|
* indeo: check for invalid motion vectorsKostya Shishkov2012-05-20
|
* indeo: check that band output buffer existsKostya Shishkov2012-05-20
|
* indeo: clear allocated band buffersKostya Shishkov2012-05-20
|
* indeo: track tile macroblock sizeKostya Shishkov2012-05-20
|
* indeo: check custom Huffman tables for errorsKostya Shishkov2012-05-20
|
* factor out common decoding code for Indeo 4 and Indeo 5Kostya Shishkov2012-05-20
|
* ivi_common: Initialize a variable at declaration in ff_ivi_decode_blocks().Diego Biurrun2012-04-20
| | | | This simplifies the code a bit and avoids an uninitialized variable warning.
* cosmetics: Consistently place static, inline and av_cold attributes/keywords.Diego Biurrun2012-04-04
|
* vlc/rl: Add ff_ prefix to the nonstatic symbolsMartin Storsjö2012-02-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* indeo5: Fix null pointer dereference.Michael Niedermayer2012-01-07
| | | | | | Bug found by: Oana Stratulat Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* Drop ALT_ prefix from BITSTREAM_READER_LE name.Diego Biurrun2011-12-22
| | | | | The prefix is a historic remnant that probably meant "alternative". Now that the A32 bitstream reader has been dropped it makes no sense anymore.
* Replace custom DEBUG preprocessor trickery by the standard one.Diego Biurrun2011-06-03
|
* Replace #ifdef + av_log() combinations by av_dlog().Diego Biurrun2011-06-03
|
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Check symbol validity to avoid a crash, fixes issue 2523.Daniel Kang2011-01-15
| | | | | | Patch by Daniel Kang, daniel.d.kang at gmail Originally committed as revision 26360 to svn://svn.ffmpeg.org/ffmpeg/trunk