Ronald S. Bultje
96c9cc1094
x86inc: sync to latest version from x264.
12 years ago
Ronald S. Bultje
b3c5ae5607
fft: rename "z" to "zc" to prevent name collision.
...
Without this, cglobal will expand "z" to "zh" to access the high byte
in a register's word, which causes a name collision with the ZH(x) macro
further up in this file.
12 years ago
Anton Khirnov
c1d865d563
wv: return meaningful error codes.
12 years ago
Anton Khirnov
ccc10acb5b
wv: return AVERROR_EOF on EOF, not EIO.
12 years ago
Anton Khirnov
f73e3938ac
mp3dec: forward errors for av_get_packet().
...
Don't invent a bogus EIO error.
The code now doesn't check for ret == 0, but that check is redundant,
av_get_packet() never returns 0.
12 years ago
Anton Khirnov
67b1156fe8
mp3dec: remove a pointless local variable.
12 years ago
Anton Khirnov
61f8bb74f3
mp3dec: remove commented out cruft.
12 years ago
Anton Khirnov
b3fa478823
lavfi: bump minor to mark stabilizing the ABI.
12 years ago
Anton Khirnov
8f9537f314
FATE: add tests for yadif.
12 years ago
Anton Khirnov
8112710f17
FATE: add a test for delogo video filter.
12 years ago
Anton Khirnov
7339340787
FATE: add a test for amix audio filter.
12 years ago
Anton Khirnov
67ef5f4eb5
audiogen: allow specifying random seed as a commandline parameter.
12 years ago
Michael Niedermayer
45838561f2
vc1dec: Override invalid macroblock quantizer
...
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
12 years ago
Michael Niedermayer
2bf369b60c
vc1: avoid reading beyond the last line in vc1_draw_sprites()
...
Fixes overread
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
12 years ago
Michael Niedermayer
1100acbab2
vc1dec: check that coded slice positions and interlacing match.
...
This fixes out of array writes
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
12 years ago
Michael Niedermayer
0aa907cfb1
vc1dec: Do not ignore ff_vc1_parse_frame_header_adv return value
...
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
12 years ago
Diego Biurrun
bfe9f48ad7
configure: Move parts that should not be user-selectable to CONFIG_EXTRA
12 years ago
Anton Khirnov
efd34918ba
lavf: remove commented out cruft in avformat_find_stream_info()
12 years ago
Anton Khirnov
c4ef6a3e4b
Add missing libavutil/time.h includes.
12 years ago
Ronald S. Bultje
4d777eedfd
vp3: don't compile mmx IDCT functions on x86-64.
...
64-bit CPUs always have SSE2, and a SSE2 version exists, thus the MMX
version will never be used.
12 years ago
Ronald S. Bultje
a5bbb1242c
h264_loopfilter: port x86 simd to cpuflags.
12 years ago
Mans Rullgard
23565c2641
build: support non-standard replacements for -c flag
...
This allows non-standard replacements for the -c compiler flag.
Some compilers use other flags or no flag at all in place of
the usual one.
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Mans Rullgard
18031c49dc
build: support non-standard replacements for -E flag
...
This allows using non-standard flags for running the C preprocessor.
The -o flag must be included in this setting due to strange syntax
required by some compilers.
Set the correct flags for tms470.
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Ronald S. Bultje
d07ff3cd5a
h264_chromamc_10bit: port x86 simd to cpuflags.
12 years ago
Ronald S. Bultje
4a26fdd852
vp3: port x86 SIMD to cpuflags.
12 years ago
Diego Biurrun
42ade117dd
build: Use portable compiler flag constructs in header compilation rule
12 years ago
Diego Biurrun
24f8961f93
x11grab: cosmetics: consistent naming for x11grab-related things
12 years ago
Diego Biurrun
755834e94f
build: Rename YASMDEP variable to DEPYASM for consistency
12 years ago
Martin Storsjö
8ebacfb598
hls: Proceed to the next segment at any error code
...
Previously, we returned any error code except AVERROR_EOF to the
caller - only if AVERROR_EOF or 0 was returned, we proceeded to
the next segment.
With some setups of web servers, using Connection: close in https
and GnuTLS, we don't get a clean error code at the end of segments.
In those cases, just proceed to the next segment.
Tested-by: Antti Seppälä <a.seppala@gmail.com>
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
41ecbbc7aa
tls: Return AVERROR_EOF if the TLS_read/write functions return 0
...
OpenSSL returns 0 when the peer has closed the connection. GnuTLS
doesn't return that though, but returns
GNUTLS_E_UNEXPECTED_PACKET_LENGTH if the connection simply is closed
without a clean close notify packet.
Tested-by: Antti Seppälä <a.seppala@gmail.com>
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Ronald S. Bultje
76888c64b0
rv34: port x86 SIMD to cpuflags.
12 years ago
Ronald S. Bultje
158744a4cd
vp56: only compile MMX SIMD on x86-32.
...
All x86-64 CPUs have SSE2, so the MMX version will never be used. This
leads to smaller binaries.
12 years ago
Ronald S. Bultje
2734ba787b
vp56: port x86 simd to cpuflags.
12 years ago
Ronald S. Bultje
5361e10a5e
proresdsp: port x86 assembly to cpuflags.
12 years ago
Justin Ruggles
e9da9a3111
lavr: x86: improve non-SSE4 version of S16_TO_S32_SX macro
...
Removes a false dependency on existing contents of the 2nd dst register,
giving better performance for OOE.
12 years ago
Justin Ruggles
743f07062a
lavfi: better channel layout negotiation
...
Allow substitution of channel pairs in the input for nearby channel pairs in
the output in order to get a closer match. Also weigh LFE channel mismatch
differently to favor matching the same layout without LFE over one less
channel with LFE.
12 years ago
Justin Ruggles
81f548de57
alac: check for truncated packets
...
This will give a clearer error message when the error is caused by a
truncated packet.
12 years ago
Justin Ruggles
fb57e913e1
alac: reverse lpc coeff order, simplify filter
...
Reversing the lpc coefficient order simplifies indexing in the filter.
12 years ago
Justin Ruggles
2f096bb10e
lavr: add x86-optimized mixing functions
...
Adds optimized functions for mixing 3 through 8 input channels to 1 and 2
output channels in fltp or s16p format with flt coeffs.
12 years ago
Justin Ruggles
79687079a9
x86: add support for fmaddps fma4 instruction with abstraction to avx/sse
12 years ago
Kostya Shishkov
0cf7d849ff
tscc2: fix typo in array index
12 years ago
Mans Rullgard
b9d3c37848
build: use COMPILE template for HOSTOBJS
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Mans Rullgard
a758c5e259
build: do full flag handling for all compiler-type tools
...
This adds a full identification probe of CC, AS, LD and HOSTCC,
and sets up correct flags and dependency tracking for each.
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Ronald S. Bultje
02ac28229a
eval: fix printing of NaN in eval fate test.
...
This fixes "make fate-eval" on MSVC builds. Without this, the test outputs
"-1.#NaN" instead of "nan" on MSVS 2010.
12 years ago
Diego Biurrun
8784959234
build: Rename aandct component to more descriptive aandcttables
12 years ago
Ronald S. Bultje
bde73f28af
mpegaudio: bury inline asm under HAVE_INLINE_ASM.
12 years ago
Ronald S. Bultje
30b45d9c38
x86inc: automatically insert vzeroupper for YMM functions.
12 years ago
Samuel Pitoiset
8ea1459bc3
rtmp: Check the buffer length of ping packets
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Samuel Pitoiset
e49e6b6451
rtmp: Allow having more unknown data at the end of a chunk size packet without failing
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Samuel Pitoiset
2357f60687
rtmp: Prevent reading outside of an allocate buffer when receiving server bandwidth packets
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago