summaryrefslogtreecommitdiff
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
|
* opt: avoid segfault in av_opt_next() if the class does not have an option listJustin Ruggles2012-12-22
| | | | CC: libav-stable@libav.org
* 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
* prepare 9_beta3 releaseReinhard Tartler2012-12-21
|
* rtpdec_vp8: Don't return known-broken packetsMartin Storsjö2012-12-21
| | | | | | | | | | | | | | | | 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>
* rtpdec: Pass the sequence number to depacketizersMartin Storsjö2012-12-21
| | | | | | This allows depacketizers to figure out if packets have been lost. Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Make avconv depend on null, anull and resample filtersDiego Biurrun2012-12-21
| | | | Building avconv without that functionality makes little sense.
* build: avfilter: Remove duplicate compilation entry for vf_scaleDiego Biurrun2012-12-21
| | | | vf_scale should not be unconditionally compiled even if disabled.
* 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>
* rtp: Don't read priv_data unless it is allocatedMartin Storsjö2012-12-20
| | | | | | | 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>
* flvenc: Check whether seeking back to the header succeededBjörn Axelsson2012-12-20
| | | | | | | | 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>
* sapenc: Pass the title on to the chained muxersJernej Virag2012-12-20
| | | | | | | 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>
* lavr: add option for dithering during sample format conversion to s16Justin Ruggles2012-12-19
|
* mpeg12: do not decode extradata more than once.Anton Khirnov2012-12-19
| | | | | | Fixes CVE-2012-2803. CC: libav-stable@libav.org
* cmdutils: pass number of groups to split_commandline().Anton Khirnov2012-12-19
| | | | | This makes the code simpler and avoids mixing designated and non-designated initializers in a potentially unsafe way in avconv.
* mov: handle h263 and flv1 for codec_tag 'H','2','6','3'Janne Grunau2012-12-19
| | | | | | | | | | 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.
* 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.
* lavc: merge latest x86inc.asm fixes with x264Ronald S. Bultje2012-12-19
| | | | | | Unbreak NASM support. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* avcodec: bump minor for adaptive h264 frame-mtJanne Grunau2012-12-18
| | | | Also adds forgotten Changelog entry.
* avconv: pass the actually selected decoder to filter_codec_opts().Anton Khirnov2012-12-18
|
* avconv: use new options parser.Anton Khirnov2012-12-18
|
* cmdutils: don't log an error in opt_default().Anton Khirnov2012-12-18
| | | | It results in spurious errors when using the new preparser.
* cmdutils: add a commandline pre-parser.Anton Khirnov2012-12-18
| | | | | | | | | | | | | 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.
* cmdutils: split parse_option().Anton Khirnov2012-12-18
| | | | | | 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.
* cmdutils: add a macro to simplify grow_array() calls.Anton Khirnov2012-12-18
|
* 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
|
* configure: formatting cosmeticsDiego 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.
* doxy: Clarify what avpriv_set_pts_info doesDerek Buitenhuis2012-12-17
| | | | | | The "pts for a given stream" was nonsensical. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* au: Reorder code so that both muxer and demuxer are under #ifdefsDiego Biurrun2012-12-17
| | | | This reduces code size when either piece has been disabled.
* fate: Move RALF test into lossless audio groupDiego Biurrun2012-12-17
|
* cosmetics: Use consistent names for multiple inclusion guards.Diego Biurrun2012-12-17
|
* avresample: use valid log context in mixing functionsHendrik Leppkes2012-12-16
| | | | Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* lavr: remove automatic context close/open for resampling compensationJustin Ruggles2012-12-16
| | | | | | | | | 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.