summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* libmp3lame: cosmetics: remove some pointless commentsJustin Ruggles2012-02-20
|
* libmp3lame: convert some debugging code to av_dlog()Justin Ruggles2012-02-20
| | | | also remove unneeded commented-out full frame data debugging
* libmp3lame: remove outdated comment.Justin Ruggles2012-02-20
| | | | | | We now require at least libmp3lame 3.98.3. lame_encode_buffer_interleaved() still doesn't work for mono, but it does not "die"; it just expects a stereo interleaved buffer.
* libmp3lame: do not set coded_frame->key_frame.Justin Ruggles2012-02-20
| | | | it is already set in avcodec_alloc_frame()
* libmp3lame: improve error handling in MP3lame_encode_init()Justin Ruggles2012-02-20
|
* libmp3lame: remove unneeded 'stereo' field from Mp3AudioContextJustin Ruggles2012-02-20
|
* hls: Reset the AVIOContext when seekingMartin Storsjö2012-02-20
| | | | | | | | This avoids reading any old data in the AVIOContext buffer after the seek, and indicates to the mpegts demuxer that we've seeked, avoiding continuity check errors. Signed-off-by: Martin Storsjö <martin@martin.st>
* pcxenc: switch to encode2().Anton Khirnov2012-02-20
|
* sgienc: switch to encode2().Anton Khirnov2012-02-20
|
* targaenc: switch to encode2().Anton Khirnov2012-02-20
|
* targaenc: don't modify input frame.Anton Khirnov2012-02-20
| | | | Set the pict_type/key_frame properties on the coded picture.
* roqvideoenc: switch to encode2().Anton Khirnov2012-02-20
|
* roqvideoenc: add const qualifier to the input frame.Anton Khirnov2012-02-20
|
* pnmenc: switch to encode2().Anton Khirnov2012-02-20
|
* huffyuv: switch to encode2().Anton Khirnov2012-02-20
|
* v410enc: switch to encode2().Anton Khirnov2012-02-20
|
* zmbvenc: switch to encode2().Anton Khirnov2012-02-20
|
* zmbvenc: move header writing to the end of encode_frame().Anton Khirnov2012-02-20
| | | | | | This makes switching to encode2() simpler, because it allows us to know exactly how large should the output buffer be before we start writing into it.
* h264: don't use redzone in loopfilter on win64.Ronald S. Bultje2012-02-19
| | | | Red zone usage is not allowed in the Win64 ABI.
* Revert two swscale commits.Ronald S. Bultje2012-02-19
| | | | | | | | | | | Revert "swscale: update context offsets after removal of AlpMmxFilter." (commit a95e3fa90b4190381b65d180eec5a4027075e2da) and Revert "swscale: Remove some write-only variables related to alpha handling." (commit 9d03cb9fc5ddf914920ab0dbe13f19a34c754966). They broke alpha handling - it's the evil inline asm that still uses that variable, so it's not truely write-only.
* applehttp: Do seeking within segments, tooPanagiotis H.M. Issaris2012-02-19
| | | | | | | | | | | Enhance seeking by demuxing until the requested timestamp is reached within the segment selected by the seek code using the playlist info. Some mpegts streams don't have dts set for all packets though, this seeking method doesn't work well for that case. Signed-off-by: Martin Storsjö <martin@martin.st>
* doxy: remove reference to removed apiLuca Barbato2012-02-19
|
* examples: unbreak compilationLuca Barbato2012-02-19
| | | | Update api so it will compile again.
* ttadec: cosmetics: reindentPaul B Mahol2012-02-19
| | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* sunrast: use RLE trigger macro inplace of the hard coded value.Aneesh Dogra2012-02-19
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* sunrastenc: set keyframe flag for the output packet.Aneesh Dogra2012-02-19
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* mpegvideo_enc: switch to encode2().Anton Khirnov2012-02-19
|
* mpegvideo_enc: force encoding delay of at least 1 frame when low_delay=0Anton Khirnov2012-02-19
| | | | | | This allows the following commit to extrapolate better dts for the first frame. Pts difference between the first two frames is reused as the difference between pts and dts of the first frame.
* mov: Use defines for sample flags in fragmentsMartin Storsjö2012-02-18
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* mov: Use defines for trun flagsMartin Storsjö2012-02-18
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* mov: Use defines for tfhd flagsMartin Storsjö2012-02-18
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* proresenc: force bitrate not to exceed given limitKostya Shishkov2012-02-18
| | | | | | Apple ProRes Format Specifications mentions target data size for every frame, so make sure frame meets it. This also allows encoder to demand much smaller packet sizes for output.
* vc1parse: call vc1_init_common().Ronald S. Bultje2012-02-18
| | | | | | | | The parser uses VLC tables initialized in vc1_common_init(), therefore we should call this function on parser init also. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* wma: don't return 0 on invalid packets.Ronald S. Bultje2012-02-18
| | | | | | | | Return 0 means "please return the same data again", i.e. it causes an infinite loop. Instead, return an error. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* asf: prevent packet_size_left from going negative if hdrlen > pktlen.Ronald S. Bultje2012-02-18
| | | | | | | | This prevents failed assertions further down in the packet processing where we require non-negative values for packet_size_left. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* mjpegb: don't return 0 at the end of frame decoding.Ronald S. Bultje2012-02-18
| | | | | | | | | Return 0 indicates "please return the same data again", i.e. it causes an infinite loop. Instead, return that we consumed the buffer if we finished decoding succesfully, or return an error if an error occurred. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* rtpdec: Identify incorrectly signalled H263Martin Storsjö2012-02-18
| | | | | | | | | | | | | H263 in RTP can be packetized in two formats (RFC 2190, RFC 2429/4629). The former normally uses the static payload type 34, while the latter normally uses dynamic payload types with the SDP format names H263-1998 or H263-2000. Look for packets that don't look like proper RFC 2190 packets and switch to depacketizing them according to the new format if they match some heuristic criteria. Signed-off-by: Martin Storsjö <martin@martin.st>
* vp8dsp: split long line.Ronald S. Bultje2012-02-18
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* aiff: don't skip block_align==0 check on COMM-after-SSND files.Ronald S. Bultje2012-02-17
| | | | | | | This prevents SIGFPEs when using block_align for divisions. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* dpcm: ignore extra unpaired bytes in stereo streams.Alex Converse2012-02-17
| | | | | | Fixes: CVE-2011-3951 Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
* mp3on4: require a minimum framesize.Ronald S. Bultje2012-02-17
| | | | | | | | | If bufsize < headersize, init_get_bits() will be called with a negative number, causing it to fail and any subsequent call to get_bits() will crash because it reads from a NULL pointer. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* mpc7: assign an error level + context to av_log() msg.Ronald S. Bultje2012-02-17
|
* huffyuv: error out on bit overrun.Ronald S. Bultje2012-02-17
| | | | | | | | On EOF, get_bits() will continuously return 0, causing an infinite loop. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* dct-test: Add the missing ff_ prefix to the altivec functionsMartin Storsjö2012-02-18
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* dct-test: Remove a stray declaration of a nonexistent functionMartin Storsjö2012-02-18
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* movenc: Write the unknown duration as 64 bit fields in ismvMartin Storsjö2012-02-18
| | | | | | | This is required for the files to play back properly in windows media player. Signed-off-by: Martin Storsjö <martin@martin.st>
* movenc: Write track durations with all bits set if duration is unknownMartin Storsjö2012-02-18
| | | | | | | | According to 14496-12, the duration should be all 1s if the duration is unknown. This is the case if writing a moov atom without any samples described in it (e.g. as in ismv files). Signed-off-by: Martin Storsjö <martin@martin.st>
* als: prevent infinite loop in zero_remaining().Ronald S. Bultje2012-02-17
| | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* cook: prevent div-by-zero if channels is zero.Ronald S. Bultje2012-02-17
| | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* pamenc: switch to encode2().Anton Khirnov2012-02-17
|