summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* ansi: remove an extra returnAnton Khirnov2012-12-23
|
* asvdec: cosmetics, reformatAnton Khirnov2012-12-23
|
* aura: cosmetics, reformatAnton Khirnov2012-12-23
|
* 4xm: don't rely on get_buffer() initializing the frame.Anton Khirnov2012-12-23
|
* huffyuv: split encoder and decoder into separate files.Anton Khirnov2012-12-23
|
* lavc: make pkt_{p,d}ts doxy less confusingAnton Khirnov2012-12-23
|
* lavc: rewrite and extend AVFrame doxyAnton Khirnov2012-12-23
|
* ttadec: fix last frame handling when seekingJustin Ruggles2012-12-22
| | | | | | | | | Using a frame count, as is done currently, does not work at all with seeking. Instead, when the number of samples in the final frame has been decoded, we check if only the 32-bit CRC is remaining. If so, we assume that it is the final frame. There is no longer a need to keep total_frames in TTAContext.
* alacdec: do not be too strict about the extradata sizeJustin Ruggles2012-12-22
| | | | | | | Sometimes the extradata has duplicate atoms, but that shouldn't prevent decoding. Just ensure that it is at least 36 bytes as a sanity check. CC: libav-stable@libav.org
* flac: only set channel layout if not previously set or on channel count changeJustin Ruggles2012-12-22
| | | | Fixes Bug 402
* miscellaneous typo fixesDiego Biurrun2012-12-21
|
* lavc: add missing files for armLuca Barbato2012-12-20
| | | | Across the many retouches those did not make the main commit.
* lavc: introduce VideoDSPContextRonald S. Bultje2012-12-20
| | | | | | | | Move some functions from dsputil. The idea is that videodsp contains functions that are useful for a large and varied set of video decoders. Currently, it contains emulated_edge_mc() and prefetch(). Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mpeg12: do not decode extradata more than once.Anton Khirnov2012-12-19
| | | | | | Fixes CVE-2012-2803. CC: libav-stable@libav.org
* h264: fix sps parsing for SVC and CAVLC 4:4:4 Intra profilesVictor Lopez2012-12-19
| | | | | | Fixes bug 396. CC: libav-stable@libav.org
* mpegvideo: increase edge_emu_buffer size for VC1Janne Grunau2012-12-19
| | | | | | | | | The VC1 decoder uses edge_emu_buffer simultaneously for luma and chroma and needs more space. That was not a problem before f1d8763a02b5fce since the size for edge_emu_buffer was always calculated with 2 byte per pixel since the linesize was not known. Fixes occasionally fate errors in vc1_sa10143.
* avcodec: bump minor for adaptive h264 frame-mtJanne Grunau2012-12-18
| | | | Also adds forgotten Changelog entry.
* h264: support frame parameter changes during frame-mtJanne Grunau2012-12-18
| | | | Fixes CVE-2012-2782.
* mpegvideo: allocate scratch buffers after linesize is knownJanne Grunau2012-12-18
| | | | | | | | | | | Since we can't know which stride a custom get_buffer() implementation is going to use we have to allocate this scratch buffers after the linesize is known. It was pretty safe for 8 bit per pixel pixel formats since we always allocated memory for up to 16 bits per pixel. It broke hoever with cmdutis.c's alloc_buffer() and high pixel bit depth since it allocated larger edges than mpegvideo expected. Fixes fuzzed sample nasa-8s2.ts_s244342.
* ff_h264_direct_ref_list_init: fix B slice check.Michael Niedermayer2012-12-18
| | | | | | Fixes null pointer dereference. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
* h264: increase dist_scale_factor for up to 32 referencesJanne Grunau2012-12-18
| | | | | Compute dist_scale_factor_field only for MBAFF since that is the only case in which it is used.
* misc typo, style and wording fixesDiego Biurrun2012-12-18
|
* h264: use mbaff ref indices in fill_colmap() only for mbaff referencesMichael Niedermayer2012-12-18
| | | | | | Prevents writing beyond array bounds. Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* h264: prevent decoding of slice NALs in extradataJanne Grunau2012-12-18
| | | | | | | | It is not posible to call get_buffer during frame-mt codec initialization. Libavformat might pass huge amounts of data as extradata after parsing broken files. The 'extradata' for the fuzzed sample sample_varPAR_s5374_r001-02.avi is 2.8M large and contains multiple slices.
* cosmetics: Use consistent names for multiple inclusion guards.Diego Biurrun2012-12-17
|
* h264: fix memleak on error during SPS parsingJanne Grunau2012-12-15
| | | | Introduced in d7d6efe42b0d.
* h264-mt: handle NAL_DPAs before calling ff_thread_finish_setupJanne Grunau2012-12-15
| | | | | Since a NAL_DPA can start a new frame it has to be handled before ff_thread_finish_setup is called.
* vp56: release frames on errorLuca Barbato2012-12-14
| | | | | | Fixes CVE-2012-2783 CC: libav-stable@libav.org
* vp56: make parse_header return standard error codesLuca Barbato2012-12-14
| | | | | | Returning 0 for failure is misleading. CC: libav-stable@libav.org
* 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
|
* h264: initialize frame-mt context copies properlyJanne Grunau2012-12-13
|
* mpegvideo: treat delayed pictures as usedJanne Grunau2012-12-13
| | | | | | This requires to move the avcodec_default_free_buffers() call to ff_MPV_common_end() since otherwise delayed pictures would get freed during a size change.
* lavc: set frame parameters after decoding only if necessaryJanne Grunau2012-12-13
| | | | | | | | Direct rendering capable decoders call get_buffer() which will set the frame parameters. Prevents frames with wrong parameters when a decoder outputs delayed frames after a resolution or pixel format change.
* h264: set parameters from SPS whenever it changesJanne Grunau2012-12-13
| | | | | Fixes a crash in the fuzzed sample sample_varPAR.avi_s26638 with alternating bit depths.
* vp6: properly fail on unsupported featureLuca Barbato2012-12-13
| | | | | | | Interlacing is not supported at all and mismanaged down the normal codepaths causing possible buffer management issues. CC: libav-stable@libav.org
* aacdec: Fix an off-by-one overwrite when switching to LTP profile from MAIN.Alex Converse2012-12-12
| | | | | Found-by: pawlkt CC: libav-stable@libav.org
* svq1: Fix building with -DDEBUGMartin Storsjö2012-12-12
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* svq1: return meaningful error codes.Anton Khirnov2012-12-12
|
* lavc: replace some forgotten instances of PixelFormat with AVPixelFormatAnton Khirnov2012-12-12
|
* svq1: unmacroify macros used only once.Anton Khirnov2012-12-12
|
* svq1: deMpegEncContextizeAnton Khirnov2012-12-12
| | | | | This decoder is quite simple and none of the MpegEncContext complexity is actually needed.
* x86inc: support stack mem allocation and re-alignment in PROLOGUERonald S. Bultje2012-12-12
| | | | | | | Use this in VP8/H264-8bit loopfilter functions so they can be used if there is no aligned stack (e.g. MSVC 32bit or ICC 10.x). Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* Make LOCAL_ALIGNED syntactically similar on all systemsMans Rullgard2012-12-11
| | | | | | | | | This changes the LOCAL_ALIGNED definition on systems where DECLARE_ALIGNED is used so it matches the manual alignment case, ensuring invalid use will not compile on x86 only to fail on everything else. Signed-off-by: Mans Rullgard <mans@mansr.com>
* ZeroCodec: Flip outputCarl Eugen Hoyos2012-12-10
| | | | | | | | | | The initial testing of the VFW binary codec was flawed, likely due to an AviSynth bug. Re-testing using VirtualDub and various professional editing applications has revealed it should have been flipped. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* sh4: dsputil: remove duplicate of ff_gmc_c()Mans Rullgard2012-12-10
| | | | | | This function is an exact duplicate of the generic one. Signed-off-by: Mans Rullgard <mans@mansr.com>
* dsputil: remove unused macro WRAPPER8_16Mans Rullgard2012-12-09
| | | | | | This macro has never been used. Signed-off-by: Mans Rullgard <mans@mansr.com>
* libvpxenc: Support forcing keyframesMartin Storsjö2012-12-09
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* ac3dec: decode directly into output buffersMans Rullgard2012-12-09
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>