Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-12-29snow: use VideoDSPContextLuca Barbato
It was left over from the initial conversion.
2012-12-28cosmetics: Prettyprint codec/format/filter registration filesDiego Biurrun
2012-12-26mpegvideo: initialize videodsp with correct pixel depthJanne Grunau
Fixes decoding of 9/10 bit per pixel h264 videos as reported in https://bugzilla.libav.org/show_bug.cgi?id=404 .
2012-12-24wnv1: cosmetics, reformatAnton Khirnov
2012-12-24xan: remove a trivially true if().Anton Khirnov
This function used to be shared with the xxan decoder, but that is not true anymore.
2012-12-24ansi: do not depend on get_buffer() initializing the frame.Anton Khirnov
The background changes from 128 (used by the default/cmdutils get_buffer()) to 0. This looks more correct.
2012-12-24zerocodec: remove an unused variable.Anton Khirnov
2012-12-24zmbv: remove some pointless comments and empty linesAnton Khirnov
2012-12-24yop: simplify/sanitize the decoding loopAnton Khirnov
Do not overwrite linesize set by get_buffer(). The last frame in the FATE test is not decoded anymore, since the file is cut and a part of it is missing.
2012-12-24c93: set palette_has_changed.Anton Khirnov
2012-12-24bmp: cosmetics, reformatAnton Khirnov
2012-12-23lavc: Correct the description of pkt_dtsMartin Storsjö
The description as updated in 6e5c44b0f made it sound like it is handled exactly like the pts, which it is not. Clarify that it is the packet that triggered returning the frame instead of just the last avpacket (in case of frame threading, it won't be the dts of the last packet). Signed-off-by: Martin Storsjö <martin@martin.st>
2012-12-23Return proper error code after av_log_ask_for_sample()Diego Biurrun
2012-12-238bps: cosmeticsAnton Khirnov
Remove some pointless comments and empty lines.
2012-12-23aasc: cosmetics, reformatAnton Khirnov
2012-12-23ansi: remove an extra returnAnton Khirnov
2012-12-23asvdec: cosmetics, reformatAnton Khirnov
2012-12-23aura: cosmetics, reformatAnton Khirnov
2012-12-234xm: don't rely on get_buffer() initializing the frame.Anton Khirnov
2012-12-23huffyuv: split encoder and decoder into separate files.Anton Khirnov
2012-12-23lavc: make pkt_{p,d}ts doxy less confusingAnton Khirnov
2012-12-23lavc: rewrite and extend AVFrame doxyAnton Khirnov
2012-12-22ttadec: fix last frame handling when seekingJustin Ruggles
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.
2012-12-22alacdec: do not be too strict about the extradata sizeJustin Ruggles
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
2012-12-22flac: only set channel layout if not previously set or on channel count changeJustin Ruggles
Fixes Bug 402
2012-12-21miscellaneous typo fixesDiego Biurrun
2012-12-20lavc: add missing files for armLuca Barbato
Across the many retouches those did not make the main commit.
2012-12-20lavc: introduce VideoDSPContextRonald S. Bultje
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>
2012-12-20mpeg12: do not decode extradata more than once.Anton Khirnov
Fixes CVE-2012-2803. CC: libav-stable@libav.org
2012-12-19h264: fix sps parsing for SVC and CAVLC 4:4:4 Intra profilesVictor Lopez
Fixes bug 396. CC: libav-stable@libav.org
2012-12-19mpegvideo: increase edge_emu_buffer size for VC1Janne Grunau
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.
2012-12-18avcodec: bump minor for adaptive h264 frame-mtJanne Grunau
Also adds forgotten Changelog entry.
2012-12-18h264: support frame parameter changes during frame-mtJanne Grunau
Fixes CVE-2012-2782.
2012-12-18mpegvideo: allocate scratch buffers after linesize is knownJanne Grunau
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.
2012-12-18ff_h264_direct_ref_list_init: fix B slice check.Michael Niedermayer
Fixes null pointer dereference. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
2012-12-18h264: increase dist_scale_factor for up to 32 referencesJanne Grunau
Compute dist_scale_factor_field only for MBAFF since that is the only case in which it is used.
2012-12-18misc typo, style and wording fixesDiego Biurrun
2012-12-18h264: use mbaff ref indices in fill_colmap() only for mbaff referencesMichael Niedermayer
Prevents writing beyond array bounds. Signed-off-by: Janne Grunau <janne-libav@jannau.net>
2012-12-18h264: prevent decoding of slice NALs in extradataJanne Grunau
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.
2012-12-17cosmetics: Use consistent names for multiple inclusion guards.Diego Biurrun
2012-12-15h264: fix memleak on error during SPS parsingJanne Grunau
Introduced in d7d6efe42b0d.
2012-12-15h264-mt: handle NAL_DPAs before calling ff_thread_finish_setupJanne Grunau
Since a NAL_DPA can start a new frame it has to be handled before ff_thread_finish_setup is called.
2012-12-14vp56: release frames on errorLuca Barbato
Fixes CVE-2012-2783 CC: libav-stable@libav.org
2012-12-14vp56: make parse_header return standard error codesLuca Barbato
Returning 0 for failure is misleading. CC: libav-stable@libav.org
2012-12-14ivi_common: check that scan pattern is set before using it.Anton Khirnov
Fixes CVE-2012-2791. CC: libav-stable@libav.org
2012-12-14ivi_common: use proper logging context in ivi_decode_blocks().Anton Khirnov
2012-12-14ivi_common: make some functions and tables static.Anton Khirnov
2012-12-14h264: initialize frame-mt context copies properlyJanne Grunau
2012-12-14mpegvideo: treat delayed pictures as usedJanne Grunau
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.
2012-12-14lavc: set frame parameters after decoding only if necessaryJanne Grunau
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.