- 23 Dec, 2012 2 commits
-
-
Anton Khirnov authored
-
Anton Khirnov authored
-
- 22 Dec, 2012 4 commits
-
-
Justin Ruggles authored
CC: libav-stable@libav.org
-
Justin Ruggles authored
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.
-
Justin Ruggles authored
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
-
Justin Ruggles authored
Fixes Bug 402
-
- 21 Dec, 2012 3 commits
-
-
Reinhard Tartler authored
-
Martin Storsjö authored
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>
-
Martin Storsjö authored
This allows depacketizers to figure out if packets have been lost. Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 20 Dec, 2012 8 commits
-
-
Diego Biurrun authored
Building avconv without that functionality makes little sense.
-
Diego Biurrun authored
vf_scale should not be unconditionally compiled even if disabled.
-
Diego Biurrun authored
-
Luca Barbato authored
Across the many retouches those did not make the main commit.
-
Ronald S. Bultje authored
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>
-
Martin Storsjö authored
This makes all users of rtpenc_chain (rtsp muxer, sapenc, mov rtp hinting) work again, broken since 8034130e. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Björn Axelsson authored
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>
-
Jernej Virag authored
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>
-
- 19 Dec, 2012 7 commits
-
-
Justin Ruggles authored
-
Anton Khirnov authored
Fixes CVE-2012-2803. CC: libav-stable@libav.org
-
Anton Khirnov authored
This makes the code simpler and avoids mixing designated and non-designated initializers in a potentially unsafe way in avconv.
-
Janne Grunau authored
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 5442083b by Carl Eugen Hoyos. Fixes bug 393.
-
Victor Lopez authored
Fixes bug 396. CC: libav-stable@libav.org
-
Janne Grunau authored
The VC1 decoder uses edge_emu_buffer simultaneously for luma and chroma and needs more space. That was not a problem before f1d8763a 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.
-
Ronald S. Bultje authored
Unbreak NASM support. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-
- 18 Dec, 2012 15 commits
-
-
Janne Grunau authored
Also adds forgotten Changelog entry.
-
Anton Khirnov authored
-
Anton Khirnov authored
-
Anton Khirnov authored
It results in spurious errors when using the new preparser.
-
Anton Khirnov authored
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.
-
Anton Khirnov authored
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.
-
Anton Khirnov authored
-
Janne Grunau authored
Fixes CVE-2012-2782.
-
Janne Grunau authored
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.
-
Michael Niedermayer authored
Fixes null pointer dereference. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
-
Janne Grunau authored
Compute dist_scale_factor_field only for MBAFF since that is the only case in which it is used.
-
Diego Biurrun authored
-
Diego Biurrun authored
-
Michael Niedermayer authored
Prevents writing beyond array bounds. Signed-off-by: Janne Grunau <janne-libav@jannau.net>
-
Janne Grunau authored
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.
-
- 17 Dec, 2012 1 commit
-
-
Derek Buitenhuis authored
The "pts for a given stream" was nonsensical. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
-