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-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-21prepare 9_beta3 releaseReinhard Tartler
2012-12-21rtpdec_vp8: Don't return known-broken packetsMartin Storsjö
This is built on the assumption that the first partition of each VP8 packet is essential for decoding any later packet - if this partition is broken/missed, the arithmetic coder gets out of sync and decoding the bitstream in further packet ends up with total garbage. If packets of a frame are lost, make sure the first partition is intact (return only this part of the packet, nothing else), otherwise stop returning data until the next keyframe is received. Alternatively, one would simply not return any packets at all until the next keyframe, if packet loss is detected. Signed-off-by: Martin Storsjö <martin@martin.st>
2012-12-21rtpdec: Pass the sequence number to depacketizersMartin Storsjö
This allows depacketizers to figure out if packets have been lost. Signed-off-by: Martin Storsjö <martin@martin.st>
2012-12-21configure: Make avconv depend on null, anull and resample filtersDiego Biurrun
Building avconv without that functionality makes little sense.
2012-12-21build: avfilter: Remove duplicate compilation entry for vf_scaleDiego Biurrun
vf_scale should not be unconditionally compiled even if disabled.
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-20rtp: Don't read priv_data unless it is allocatedMartin Storsjö
This makes all users of rtpenc_chain (rtsp muxer, sapenc, mov rtp hinting) work again, broken since 8034130e0. Signed-off-by: Martin Storsjö <martin@martin.st>
2012-12-20flvenc: Check whether seeking back to the header succeededBjörn Axelsson
The FLV muxer tries to update the header in write_trailer, which is impossible if writing to a pipe or network stream. Don't write header data if seeking to the header fails. Signed-off-by: Martin Storsjö <martin@martin.st>
2012-12-20sapenc: Pass the title on to the chained muxersJernej Virag
This makes sure it ends up in the SDP, providing a proper session name in the SAP announcements. Signed-off-by: Martin Storsjö <martin@martin.st>
2012-12-20lavr: add option for dithering during sample format conversion to s16Justin Ruggles
2012-12-20mpeg12: do not decode extradata more than once.Anton Khirnov
Fixes CVE-2012-2803. CC: libav-stable@libav.org
2012-12-20cmdutils: pass number of groups to split_commandline().Anton Khirnov
This makes the code simpler and avoids mixing designated and non-designated initializers in a potentially unsafe way in avconv.
2012-12-19mov: handle h263 and flv1 for codec_tag 'H','2','6','3'Janne Grunau
The sample in https://bugzilla.libav.org/show_bug.cgi?id=393 and samples/F4V/H263_NM_f.mp4 both have codec_tag H263 for different codecs. H263 is apparently used by Flash Media Server for Sorensen Spark videos. Patch based on commit 5442083b1c541dd166b3adf39131259fc846a62b by Carl Eugen Hoyos. Fixes bug 393.
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-19lavc: merge latest x86inc.asm fixes with x264Ronald S. Bultje
Unbreak NASM support. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2012-12-18avcodec: bump minor for adaptive h264 frame-mtJanne Grunau
Also adds forgotten Changelog entry.
2012-12-18avconv: pass the actually selected decoder to filter_codec_opts().Anton Khirnov
2012-12-18avconv: use new options parser.Anton Khirnov
2012-12-18cmdutils: don't log an error in opt_default().Anton Khirnov
It results in spurious errors when using the new preparser.
2012-12-18cmdutils: add a commandline pre-parser.Anton Khirnov
It splits the commandline into a more convenient internal representation for further parsing. This will allow e.g. - processing global options first independently of their location on the commandline, eliminating ugly hacks for processing e.g. cpuflags first - better options validation and error reporting. It is now possible for the parser to know that it's applying an input option to an output file or vice versa and act accordingly.
2012-12-18cmdutils: split parse_option().Anton Khirnov
Separate the code that searches for the option to use and the code that actually writes it. The writing code will be reused by the new options parser.
2012-12-18cmdutils: add a macro to simplify grow_array() calls.Anton Khirnov
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-18configure: formatting cosmeticsDiego 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-17doxy: Clarify what avpriv_set_pts_info doesDerek Buitenhuis
The "pts for a given stream" was nonsensical. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2012-12-17au: Reorder code so that both muxer and demuxer are under #ifdefsDiego Biurrun
This reduces code size when either piece has been disabled.
2012-12-17fate: Move RALF test into lossless audio groupDiego Biurrun
2012-12-17cosmetics: Use consistent names for multiple inclusion guards.Diego Biurrun
2012-12-17avresample: use valid log context in mixing functionsHendrik Leppkes
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
2012-12-17lavr: remove automatic context close/open for resampling compensationJustin Ruggles
It adds unnecessary complication for insignificant usability improvement. The user really should know if they'll need resampling compensation before opening the context. Note that only the documentation has changed. The current functionality will still work until the next major bump.
2012-12-17lavr: only save/restore the mixing matrix if mixing is being doneJustin Ruggles
2012-12-16rtpdec_vp8: Cosmetics: Fix bad alignment/indentationMartin Storsjö
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-12-16rtpenc: Allow including a SDES/CNAME block in RTCP SR packetsMartin Storsjö
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-12-16rtpenc_vp8: Include the picture number in VP8 packetsMartin Storsjö
This makes it easier for receivers to decide what to do if data is lost. Refactor calculating the max payload size, to avoid hardcoding the header size in too many places, reducing the number of lines that have to be touched if the header is adjusted further. Signed-off-by: Martin Storsjö <martin@martin.st>
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-15lavr: move AudioMix struct definition to audio_mix.cJustin Ruggles
2012-12-14vp56: release frames on errorLuca Barbato
Fixes CVE-2012-2783 CC: libav-stable@libav.org