Andrey Utkin
1f8bf1ef38
applehttpproto: Apply the same reload interval changes as for the demuxer
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
617475a95c
applehttp: Use half the target duration as interval if the playlist didn't update
...
This is mandated in draft-pantos-http-live-streaming-07, section
6.3.4.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Andrey Utkin
356ae5f65b
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>
13 years ago
Thad Ward
7af507ea99
lagarith: add decode support for arith rgb24 mode
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Michael Niedermayer
8f5216905f
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>
13 years ago
Reimar Döffinger
733b23c2e4
fate: Add v210 codec regression tests
...
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Jindřich Makovička
891ce00c8d
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>
13 years ago
Jindřich Makovička
6fa9843b4b
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>
13 years ago
Paul B Mahol
b5aecc6bc0
avformat: Add SMJPEG demuxer.
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Kostya Shishkov
adfe0c942e
Indeo 4 decoder
...
Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
13 years ago
Aneesh Dogra
bd96be6e27
mpegvideo_enc: K&R cosmetics
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Janne Grunau
2702ec2ef4
doxygen: remove unreplaced variables from custom header and footer
13 years ago
Janne Grunau
06bb590558
threads: test for sys/param.h and include it for sysctl on OpenBSD
13 years ago
Janne Grunau
1adba23cec
v4l2: remove unneded linux specific asm/types.h include
13 years ago
Martin Storsjö
676a9ee1d2
x86: Fix constraints for decode_significance*_x86
...
Originally, prior to 8742a4ff8
, 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>
13 years ago
Diego Biurrun
723c35feb0
fate: split off vqf/twinvq FATE tests into their own file
13 years ago
Diego Biurrun
9e5bd6cc94
fate: split off mpc FATE tests into their own file
13 years ago
Diego Biurrun
913b6b4b98
fate: split off libavcodec FATE tests into their own file
13 years ago
Diego Biurrun
4e616d0915
fate: split off Microsoft codec FATE tests into their own file
13 years ago
Diego Biurrun
bebf9f923e
fate: group all VP* codec FATE tests together in one file
13 years ago
Janne Grunau
6e9bb5aa3e
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 .
13 years ago
Anton Khirnov
80dc7c0160
avs: call release_buffer() at the end.
...
Fixes a memleak.
13 years ago
Anton Khirnov
06e8d38f2b
Add minor bumps and APIchanges entries for lavc/lavfi changes.
13 years ago
Konstantin Todorov
c65dfac466
mpegvideo.c: K&R formatting and cosmetics.
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Anton Khirnov
04a14d4d25
avconv: avoid memcpy in vsrc_buffer when possible.
...
Decoding Sintel.2010.1080p.mkv with 4 threads on an i7 2600K goes from
260s to 244s.
13 years ago
Anton Khirnov
64dca32cdf
avconv: implement get_buffer()/release_buffer().
...
This will allow memcpy-free passing frames to lavfi.
13 years ago
Anton Khirnov
e1d9dbf2d4
lavfi: add a new function av_buffersrc_buffer().
...
It can be used to directly pass a AVFilterBufferRef to lavfi, avoiding a
memcpy.
13 years ago
Stefano Sabatini
1c9e340d35
lavfi: add avfilter_copy_frame_props()
...
avfilter_copy_frame_props() avoids code duplication and increases
robustness.
13 years ago
Stefano Sabatini
8a4a5f6ff7
lavc: add format field to AVFrame
...
The format is a per-frame property, having it in AVFrame simplify the
operation of extraction of that information, since avoids the need to
access the codec/stream context.
13 years ago
Stefano Sabatini
3a2ddf7c2c
lavc: add width and height fields to AVFrame
...
width and height are per-frame properties, setting these values in
AVFrame simplify the operation of extraction of that information,
since avoids the need to check the codec/stream context.
13 years ago
Stefano Sabatini
b58dbb5b03
lavc: add a sample_aspect_ratio field to AVFrame
...
The sample aspect ratio is a per-frame property, so it makes sense to
define it in AVFrame rather than in the codec/stream context.
Simplify application-level sample aspect ratio information extraction,
and allow further simplifications.
13 years ago
Gautam Gupta
671005558a
doxy: add website-alike style to the html output
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
13 years ago
Anton Khirnov
2bbb472016
FAQ: add an entry for common error when using -profile
13 years ago
Reinhard Tartler
8b94df0f20
vp3dec: Check coefficient index in vp3_dequant()
...
Based on a patch by Michael Niedermayer <michaelni@gmx.at>
Fixes NGS00145, CVE-2011-4352
Found-by: Phillip Langlois
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
13 years ago
Michael Niedermayer
6e24b9488e
svq1dec: call avcodec_set_dimensions() after dimensions changed.
...
Fixes NGS00148, CVE-2011-4579
Found-by: Phillip Langlois
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Reinhard Tartler
be00d2e174
Prepare for 0.8_beta1 snapshot release
13 years ago
Janne Grunau
7052618c7e
threads: check defines before using them in automatic thread detection
13 years ago
Janne Grunau
846dca1aa3
pthread: include sys/types.h before sys/sysctl.h
...
Fixes compilation on FreeBSD with clang 3.
13 years ago
Anton Khirnov
d09298f0d6
4xm: remove unused variables.
13 years ago
Alexander Strange
bc6a3bd4a5
h264: Fix a possible overread in decode_nal_units()
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Anton Khirnov
82d05e78a6
allfilters: fix type of avfilter_vsrc_buffer.
13 years ago
Sergey Radionov
01eb9805f3
w32thread: call ResetEvent() in pthread_cond_broadcast().
...
Also add "volatile" to broadcast flag (since it is used from
multiple threads).
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Diego Biurrun
4e8d6218c3
build: fix standalone compilation of OMA muxer
...
The muxer depends on the id3v2 writing code, so link against it.
13 years ago
Diego Biurrun
e2c97aee39
build: fix standalone compilation of Microsoft XMV demuxer
...
The demuxer depends on the RIFF codec tags code, so link against it.
13 years ago
Diego Biurrun
408dbbd0a7
build: fix standalone compilation of Core Audio Format demuxer
...
The demuxer depends on code from mov.c, which in turn depends on
code from mov_chan.c, so link against it.
13 years ago
Gaurav Narula
ad3161ec1d
kvmc: fix invalid reads
...
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
13 years ago
Shitiz Garg
355d917c0b
4xm: Add a check in decode_i_frame to prevent buffer overreads
...
Fixes bugzilla #135
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
13 years ago
Paul B Mahol
01a01bf8bd
adpcm: fix IMA SMJPEG decoding
...
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
13 years ago
Janne Grunau
c32e4029d9
options: set minimum for "threads" to zero
...
A negative number of threads does not make sense and 0 is used for
autodetection. Adds a symbolic name for autodetection.
13 years ago
Janne Grunau
b9e2226972
bsd: use number of logical CPUs as automatic thread count
13 years ago