summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* zmbv: avoid use of uninitialized dataMichael Niedermayer2012-11-15
| | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* vmdav: more complete check for block_align, prevent out of array access.Michael Niedermayer2012-11-15
| | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* flashsv: only realloc blocks for version 2Michael Niedermayer2012-11-15
| | | | | | Fixes 10l regression introducing a memleak Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* pcm: give more descriptive name to codecPaul B Mahol2012-11-15
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* pgssubdec: check RLE size before copying. Fix out of array accessesMichael Niedermayer2012-11-15
| | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* flashsv: reallocate block array independant of frame type.Michael Niedermayer2012-11-15
| | | | | | | Fixes NULL pointer dereference Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* ituh263dec: more complete w/h check.Michael Niedermayer2012-11-15
| | | | | | | Fixes a division by 0 Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* rv10: always check image size not just in some cases.Michael Niedermayer2012-11-15
| | | | | | | Fixes division by 0 Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* dxa: dont try to use the previous frame if there is none.Michael Niedermayer2012-11-15
| | | | | | | Fixes null pointer dereference. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* bink: check quant_index, fix out of array readMichael Niedermayer2012-11-14
| | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* gifdec: check ff_lzw_decode_init() return value, fix out of array readsMichael Niedermayer2012-11-14
| | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* wmaprodec: check num_sfb for validity. Fix out of array accessesMichael Niedermayer2012-11-14
| | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* vpriv_adx_decode_header: avoid underreading the array.Michael Niedermayer2012-11-14
| | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* vc1dec: require a minimum of 2x2 for the edge pos. Avoid assertion failureMichael Niedermayer2012-11-14
| | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* vc1dec: check first field slices, fix out of array read.Michael Niedermayer2012-11-14
| | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-11-14
|\ | | | | | | | | | | | | | | | | | | | | | | * qatar/master: x86: mmx2 ---> mmxext in asm constructs Conflicts: libavcodec/x86/h264_chromamc_10bit.asm libavcodec/x86/h264_deblock.asm libavcodec/x86/h264dsp_init.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * x86: mmx2 ---> mmxext in asm constructsDiego Biurrun2012-11-14
| |
| * Drop broken and unused CABAC test program.Diego Biurrun2012-11-14
| |
* | Remove deprecation of avcodec_get_chroma_sub_sample.Michael Niedermayer2012-11-14
| | | | | | | | | | | | | | Add explanations what the difference between the 2 functions are and when either should be used. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '5e9c6ef8f3beb9ed7b271654a82349ac90fe43f2'Michael Niedermayer2012-11-14
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '5e9c6ef8f3beb9ed7b271654a82349ac90fe43f2': x86: h264_weight_10bit: port to cpuflags libtheoraenc: add missing pixdesc.h header avcodec: remove ff_is_hwaccel_pix_fmt pixdesc: add av_pix_fmt_get_chroma_sub_sample hlsenc: stand alone hls segmenter Conflicts: doc/muxers.texi libavcodec/ffv1enc.c libavcodec/imgconvert.c libavcodec/mpegvideo_enc.c libavcodec/tiffenc.c libavformat/Makefile libavformat/allformats.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * x86: h264_weight_10bit: port to cpuflagsDiego Biurrun2012-11-13
| |
| * libtheoraenc: add missing pixdesc.h headerLuca Barbato2012-11-13
| | | | | | | | Was left out from c1a02e884ac785033baab356a5437adf057a4189.
| * avcodec: remove ff_is_hwaccel_pix_fmtLuca Barbato2012-11-13
| | | | | | | | | | It is used only in one place and is unlikely it would be needed elsewhere.
| * pixdesc: add av_pix_fmt_get_chroma_sub_sampleLuca Barbato2012-11-13
| | | | | | | | Deprecate avcodec_get_chroma_sub_sample.
* | 8bps: check index against buffer size before reading line length pointer.Michael Niedermayer2012-11-14
| | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | mpeg12data: increase size of ff_mpeg1_default_intra_matrix to prevent ↵Michael Niedermayer2012-11-14
| | | | | | | | | | | | | | harmless overreads from crashing Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | aasc: check before reading the first 4 byte, fix overreadMichael Niedermayer2012-11-14
| | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | vmnc: check input size before reading chunk header, fix overreadMichael Niedermayer2012-11-14
| | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | imc: sanity check scalefactors.Michael Niedermayer2012-11-14
| | | | | | | | | | | | | | This fixes undefined behavior Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | alac: check channel count more completely, fix out of array readMichael Niedermayer2012-11-13
| | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avrndec: calculate true_height only when used.Michael Niedermayer2012-11-13
| | | | | | | | | | | | | | Fixes division by 0 Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | pcmdec: consistently use codec_id, fixes out of array readsMichael Niedermayer2012-11-13
| | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | mpeg4video_parser: init static tables before use, fix nulll ptr derefMichael Niedermayer2012-11-13
| | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | mpeg4videodec: split static decoder table init outMichael Niedermayer2012-11-13
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | rv10: consider B frames in low delay streams invalid.Michael Niedermayer2012-11-13
| | | | | | | | | | | | | | Fix assertion failure Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | dcadec: check layout & channel count for consistency.Michael Niedermayer2012-11-13
| | | | | | | | | | | | | | Fixes out of array accesses Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Replace rest of libavutil/audioconvert.h with libavutil/channel_layout.hPaul B Mahol2012-11-13
| | | | | | | | | | | | Also remove it in once case when it is not needed. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avcodec.h: update audioconvert.h header after renameMichael Niedermayer2012-11-13
| | | | | | | | | | Found-by: durandal_1707 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavc/libtheoraenc: return proper error codesStefano Sabatini2012-11-13
| |
* | Merge commit 'ef1b23ad21e3f12fc4ff2a73a6d4d4cd9d630c4b'Michael Niedermayer2012-11-13
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'ef1b23ad21e3f12fc4ff2a73a6d4d4cd9d630c4b': (21 commits) jvdec: set channel layout iss: set channel layout ipmovie: set channel layout iff: set channel layout idroqdec: set channel layout gxfdec: set channel layout when applicable gsmdec: set channel layout flvdec: set channel layout dv: set channel layout dsicin: set channel layout daud: set channel layout cdxl: set channel layout bmv: set channel layout bink: set channel layout bfi: set channel layout bethsoftvid: set channel layout apc: set channel layout amr: set channel_layout ppc: replace pointer casting with AV_COPY32 ppc: fix some unused variable warnings ... Conflicts: libavformat/amr.c libavformat/iff.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * ppc: replace pointer casting with AV_COPY32Mans Rullgard2012-11-12
| | | | | | | | | | | | This removes warnings about strict aliasing violations. Signed-off-by: Mans Rullgard <mans@mansr.com>
| * ppc: fix some unused variable warningsMans Rullgard2012-11-12
| | | | | | | | | | | | | | The third argument of OP_U8_ALTIVEC is evaluated at most once so there is no need for a potentially unused temporary variable. Signed-off-by: Mans Rullgard <mans@mansr.com>
* | wavpack: check the blocks sample count, fix out of array accessesMichael Niedermayer2012-11-13
| | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | wavpack: check ch_offsetMichael Niedermayer2012-11-13
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | flashv: check if keyframe is available, fix null deref.Michael Niedermayer2012-11-13
| | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | flashv: use avcodec_set_dimensions()Michael Niedermayer2012-11-13
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | svq1dec: dont export the qscale table.Michael Niedermayer2012-11-12
| | | | | | | | | | | | | | | | SVQ1 has no qscales so the table is of no use, and it triggers a bug as SVQ1 does not maintain the size of the table properly causing a crash. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | indeo4: more complete check for the scan vs block sizes.Michael Niedermayer2012-11-12
| | | | | | | | | | | | | | Fixes out of array reads Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavc/aac: fix shared build failures with MSVC.Clément Bœsch2012-11-12
| | | | | | | | This is a workaround until a better solution is found.
* | xan: check size_segment before reading, fixes out of array read.Michael Niedermayer2012-11-12
| | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>