swscale: prevent invalid writes in packed_16bpc_bswap
Writes past the end of the destination buffer were occuring when its stride was smaller than the stride of the source. Fixes Bug #183.
x86: Fix constraints for decode_significance*_x86
Originally, prior to 8742a4f, the caller code was compiled within this condition: ARCH_X86 && HAVE_7REGS && HAVE_EBX_AVAILABLE && !defined(BROKEN_RELOCATIONS) Since HAVE_7REGS is defined as (ARCH_X86_64 || (HAVE_EBX_AVAILABLE && HAVE_EBP_AVAILABLE)) the subcondition HAVE_7REGS && HAVE_EBX_AVAILABLE is equal to HAVE_7REGS (for 32 bit at least). The correct simplification of the original condition thus is HAVE_7REGS, not HAVE_EBX_AVAILABLE. This fixes compilation in some cases where HAVE_EBP_AVAILABLE = 0 and HAVE_EBX_AVAILABLE = 1. Signed-off-by: Martin Storsjö <martin@martin.st>
v4l2: remove unneded linux specific asm/types.h include
threads: test for sys/param.h and include it for sysctl on OpenBSD
doxygen: remove unreplaced variables from custom header and footer
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
mpegts: properly output large audio packets
Do not assume the audio packets being always smaller than DEFAULT_PES_PAYLOAD_SIZE. Signed-off-by: Jindřich Makovička <makovick@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
mpegts: adjustable minimum PES payload
With the current default PES packet size, and very small audio bitrates, audio packet duration gets too long. For players, which wait for a whole audio packet (or more) it takes a very long time to start playing sound. For 24kbps audio, one PES packet is about 1 second long. On Motorola STBs, we observe about 3 second delay before the playback starts with the default setting. Signed-off-by: Anton Khirnov <anton@khirnov.net>
fate: Add v210 codec regression tests
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> Signed-off-by: Anton Khirnov <anton@khirnov.net>
v410dec: Check for sufficient input data. Fixes crash
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
lagarith: add decode support for arith rgb24 mode
Signed-off-by: Anton Khirnov <anton@khirnov.net>
applehttp: Use the last segment duration as reload interval
According to draft-pantos-http-live-streaming-07, 6.3.4, the duration of the last media segment in the playlist should be used as initial minimum reload delay. Signed-off-by: Martin Storsjö <martin@martin.st>
applehttp: Use half the target duration as interval if the playlist d…
…idn't update This is mandated in draft-pantos-http-live-streaming-07, section 6.3.4. Signed-off-by: Martin Storsjö <martin@martin.st>
applehttpproto: Apply the same reload interval changes as for the dem…
…uxer Signed-off-by: Martin Storsjö <martin@martin.st>
fate: add more tests for VC-1 decoder
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
doxygen: cleanup style to support older doxy
Doxygen 1.7.5.1 had been used as reference while certain distributions provide older and not fully compatible versions.
indeo4: remove two unused variables
qt-faststart: Fix up indentation
This restores indentation after 65b875d. Signed-off-by: Martin Storsjö <martin@martin.st>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
mpegvideo_enc: K&R cosmetics (line 1000-2000).
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
fate: Add a video test for xxan decoder
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
libmp3lame: K&R formatting cosmetics
Signed-off-by: Diego Biurrun <diego@biurrun.de>
FATE: Add test for H.264 MP4->annex.B bitstream filter.
This test uses an existing FATE sample (h264/interlaced_crop.mp4). Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
cook: K&R formatting cosmetics
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Changelog: restore version <next> header
Indeo 4 decoder and SMJPEG demuxer are not included in 0.8_beta1. Move them to version <next>.
threads: default to automatic thread count detection