summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* swr: drop SWR_CH_MAX with the next major ABI bumpMichael Niedermayer2012-03-24
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: dont use SWR_CH_MAX in the public function declaration.Michael Niedermayer2012-03-24
| | | | | | | | This change should make no binary difference to the generated code. the API version is just bumped for correctness sake, this is not really a API or ABI change. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: make SwrContext a typedef.Michael Niedermayer2012-03-24
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swresample: support up to 32 channelsMichael Niedermayer2012-03-24
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* adxenc: fix error in merging from qatarPaul B Mahol2012-03-24
| | | | | | | Pointed out by FATE. Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* sonic: mark as experimentalPaul B Mahol2012-03-24
| | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* indeo5dec: Make sure we have had a valid gop header.Michael Niedermayer2012-03-24
| | | | | | | This prevents decoding happening on a half initialized context. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* truemotion2dec: Fix overread of input.Michael Niedermayer2012-03-24
| | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* cavsdec: check stc in decode_slice_header()Michael Niedermayer2012-03-24
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* h264: move resolution change check further up.Michael Niedermayer2012-03-24
| | | | | | | | This prevents some variables from being changed in case of a rejected resolution change. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* alsdec: check opt_order.Michael Niedermayer2012-03-24
| | | | | | | Fixes out of array write in quant_cof Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* mpegvideo: increase buffer sizes.Michael Niedermayer2012-03-24
| | | | | | | Fixes buffer overflow Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* indeo4: Fix global array overread.Michael Niedermayer2012-03-24
| | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Fix linking without yasm.Carl Eugen Hoyos2012-03-24
|
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-03-24
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: rv34: error out on size changes with frame threading aacsbr: Add a debug check to sbr_mapping. aac: Reset some state variables when turning SBR off aac: Reset PS parameters on header decode failure. fate: add wmalossless test. aacsbr: handle m_max values smaller than 4. Conflicts: libavcodec/aacsbr.c tests/fate/lossless-audio.mak Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * rv34: error out on size changes with frame threadingJanne Grunau2012-03-23
| |
| * aacsbr: Add a debug check to sbr_mapping.Alex Converse2012-03-23
| | | | | | | | | | | | | | | | There have been multiple bugs caused by inconsistencies here. Based on an idea from Michael Niedermayer. CC: libav-stable@libav.org
| * aac: Reset some state variables when turning SBR offAlex Converse2012-03-23
| | | | | | | | | | | | | | | | This makes sure the reset flag gets set when SBR gets turned back on and sets control variables for unguided mode back to their defaults. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
| * aac: Reset PS parameters on header decode failure.Alex Converse2012-03-23
| | | | | | | | | | | | | | | | If the next header frame codes zero envelopes the previous frame's values will be used. Consequently the invalid values must be cleared. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
| * fate: add wmalossless test.Ronald S. Bultje2012-03-23
| |
| * aacsbr: handle m_max values smaller than 4.Ronald S. Bultje2012-03-23
| | | | | | | | | | | | | | | | Prevents a signflip in the counter, and a subsequent crash because of overreads/overwrites. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* | libopenjpegenc: switch to encode2()Paul B Mahol2012-03-24
| | | | | | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Reviewed-by: Michael Bradshaw <mbradshaw@sorensonmedia.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | libopenjpeg: make .long_name usefullPaul B Mahol2012-03-24
| | | | | | | | | | | | | | | | | | | | Fixes following strange output: DEV D libopenjpeg OpenJPEG based JPEG 2000 encoder Signed-off-by: Paul B Mahol <onemda@gmail.com> Reviewed-by: Michael Bradshaw <mbradshaw@sorensonmedia.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | bintext: build decoders only if they are actually enabledPaul B Mahol2012-03-24
| | | | | | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Reviewed-by: Peter Ross <pross@xvid.org> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | vp56dec: avoid freeing the returned frame before returning it.Michael Niedermayer2012-03-24
| | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | cavsdec: check for changing w/h.Michael Niedermayer2012-03-24
| | | | | | | | | | | | | | Our decoder does not support changing w/h. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | indeo3: fix out of picture write.Michael Niedermayer2012-03-24
| | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | pthread/mpegvideo: detect and block attempts to init frames after setup.Michael Niedermayer2012-03-24
| | | | | | | | | | | | | | This fixes race conditions that ultimately lead to memory corruption. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | error_concealment: Prevent FPEs in case of corrupted input.Michael Niedermayer2012-03-23
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-03-23
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: rv34: Handle only complete frames in frame-mt. MPV: set reference frame pointers to NULL when allocation of dummy pictures fails configure: die if x11grab dependencies are unavailable zerocodec: factorize loop avconv: fix the resampling safety factors for output audio buffer allocation avconv: move audio output buffer allocation to a separate function avconv: make the async buffer global and free it in exit_program() Conflicts: ffmpeg.c libavcodec/mpegvideo.c libavcodec/rv34.c libavcodec/zerocodec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * rv34: Handle only complete frames in frame-mt.Janne Grunau2012-03-23
| | | | | | | | | | | | | | | | Correct handling of errors to prevent hags or crashes is very complex otherwise. The frame initializing is also moved from decode_slice() to decode_frame() for clarity.
| * MPV: set reference frame pointers to NULL when allocation of dummy pictures ↵Janne Grunau2012-03-23
| | | | | | | | fails
| * configure: die if x11grab dependencies are unavailableJosh Allmann2012-03-23
| | | | | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
| * zerocodec: factorize loopMichael Niedermayer2012-03-23
| | | | | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
| * avconv: fix the resampling safety factors for output audio buffer allocationJustin Ruggles2012-03-23
| | | | | | | | This matches the output size required for audio_resample()
| * avconv: move audio output buffer allocation to a separate functionJustin Ruggles2012-03-23
| | | | | | | | Allows for removing a goto and makes the code easier to follow.
| * avconv: make the async buffer global and free it in exit_program()Justin Ruggles2012-03-23
| |
* | VC1: restore optimizations broken in 9a1ced32.Reimar Döffinger2012-03-23
| | | | | | | | | | | | | | | | They were moved into code under HAVE_YASM and most of them even into completely disabled code with no reason given for that in the commit message. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | interplayvideo: give avctx to av_dlog()Paul B Mahol2012-03-23
| | | | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | interplayvideo: remove superfluous strings from av_log()Paul B Mahol2012-03-23
| | | | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | vmdvideo: remove superfluous strings from av_log messagesPaul B Mahol2012-03-23
| | | | | | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | sonic: fix warning about incompatible pointer typesPaul B Mahol2012-03-23
| | | | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | swr: check that there is enough information to do rematrixing when needed.Michael Niedermayer2012-03-23
| | | | | | | | | | | | | | Fixes assertion failure. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | bitstream: build_table, check table_nb_bits.Michael Niedermayer2012-03-23
| | | | | | | | | | | | | | Fixes null ptr deref. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | indeo4: check ref_mbMichael Niedermayer2012-03-23
| | | | | | | | | | | | | | Fix NULL deref Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffmpeg: check samplerate from decoder.Michael Niedermayer2012-03-23
| | | | | | | | | | | | | | Fixes FPE Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | rawdec: Check w/h.Michael Niedermayer2012-03-23
| | | | | | | | | | | | | | Fixes FPE Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | xmv: check channel numberMichael Niedermayer2012-03-23
| | | | | | | | | | | | | | Fixes FPE Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | mjpegdec: check h/v_count.Michael Niedermayer2012-03-23
| | | | | | | | | | | | | | Fixes FPE Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ituh263dec: Implement enough of Annex O (scalability) to fix a FPE.Michael Niedermayer2012-03-23
| | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>