Michael Niedermayer
461030a7ac
dct-test: perform emms before gettime().
...
This fixes the hypothetical case of a gettime implementation using floats
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
9758b1cb88
fate: enable fate-mapchan-6ch-extract-2-downmix-mono
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
d43812e235
ffmpeg: move pan filter insertion up.
...
This fixes one (disabled) fate test.
Thanks-to: ubitux to pointing at the odd filter order and stereo/mono messup
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
0766b6e3ec
rv20: fix lowres out of array read
...
Fixes Ticket1239
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
febc013dc5
yopdec: check frame oddness to be within supported limits
...
Fixes Ticket1365
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
b6fdf8dea7
yopdec: check that palette fits in the packet
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
f218121a4d
http: use ffurl_closep()
...
Fixes Ticket1383
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
edf96d631c
url: add ffurl_closep() which also sets the context pointer to NULL
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
f89aa6751c
lavf: use av_freep() in ffurl_close()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Martin Storsjö
2dbb8cc6a3
tcp: Check the return values from bind and accept
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Michael Niedermayer
5f509fa2e1
log: add category to AVClass
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
23b365f1c4
ffmpeg: fix memleak
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
422418b664
dnxhd: replace asserts by av_asserts
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
e6866b1c67
fate: only check stddev for acodec-ra144
...
ra144 uses floats so bitexactness cannot be guranteed
This should fix a long standing issue with icc
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Carl Eugen Hoyos
aac41ec119
Let ffmpeg select the setpts filter.
...
Do not disable ffmpeg with --disable-everything.
13 years ago
Clément Bœsch
64df092b25
swr: fix a few typo.
13 years ago
Michael Niedermayer
abf5f6ea2a
fate: try to fix 3rd md5 implementation
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
03ce421c13
8svx: fix crash
...
Fixes Ticket1377
Found-by: Piotr Bandurski <ami_stuff@o2.pl>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Piotr Bandurski
59352cc219
sgienc: add a limit for maximum supported resolution
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
8a0efa9cc0
qdm2: fix incorrect error spam
...
Fixes Ticket1375
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
e47e23698b
libmp3lame: add missing layout terminator
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
7cb8663362
h264: Fail on DPC its not fully implemented
...
Fixes part of Ticket1369
Found-by: ami_stuff
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
3c276ac0f8
dv-demux: dont mess with codec values
...
Fixes part of Ticket1369
Found-by: ami_stuff
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Clément Bœsch
303619d3ca
jacosub_probe: slightly increase the score to limit misdetection.
13 years ago
Clément Bœsch
908293d1bc
jacosub_probe: speedup by making only one call to sscanf
13 years ago
Michael Niedermayer
5afdb3e6b1
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
fate: Fix fate-ac3-fixed-encode for pre-ssse3 x86 machines
http: Pass the proper return code of net IO operations
http: Add 'post_data', a new option which sets custom HTTP post data
lavfi: amix: check active input count before calling request_samples
vp8: move block coeff arithcoder on stack.
mp3/ac3 probe: search for PES headers to prevent probing MPEG-PS as MP3.
Conflicts:
libavformat/ac3dec.c
libavformat/mp3dec.c
tests/fate/ac3.mak
Merged-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
b7d1488393
h264: move q0 scan tables into context
...
This fixes out of global array reads.
The alternative solutions of checking the index or modifying the VLC tables
to prevent the index going outside are each about 1-2 cpu cyclces slower
per coded 4x4 block.
The alternative of padding the global tables directly is more ugly and
moving them to the context should benefit cache locality.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
18b46a494e
oggparsevorbis: fix null ptr dereference
...
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
b02cc2ddc6
mpeg4videodec: Check that cplx_estimation_* fits in the available space
...
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Nicolas George
06bf6d3bc0
vf_overlay: rewrite request/push logic.
...
The old implementation, upon receiving a frame on the main
input, would request an overlay frame if necessary. This could
generate an infinite recursion, off-by-one frame mismatch and
other harmful effects, especially it the split filter is present
upgraph.
The new implementation uses the linear approach: it uses two
buffer queues for frames received out of turn and forwards
request_frame calls to the input where a frame is necessary.
13 years ago
Nicolas George
6d679c4359
lavfi: add a generic API for buffer queues.
13 years ago
Nicolas George
72f3786d0f
sink_buffer: guard against NULL frames.
...
This only happens if some filter somewhere is bogus,
but it helps debugging.
13 years ago
Piotr Bandurski
e03ddbcd91
gifenc: support resolutions up to 65535x65535
...
Maybe someone can add a check in the second gif encoder (rgb24), because I'm not sure where it should be added.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Piotr Bandurski
d2581dcca6
mjpegenc: add a limit for maximum supported resolution
...
jpeg does not allow more than 65000 pixels for width and height
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Matthieu Bouron
320e537baf
mxfenc: support 50 and 60 frame rates
...
Reviewed-by: Tomas Härdin <tomas.hardin@codemill.se>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
cc4d80c99f
ipmovie_probe: speedup by avoiding memcmp() call
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
ebfe0c6eb8
ac3_probe: speedup by checking for header earlier
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
6cfaccabc4
probetest: allow specifying parameters on the command line
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
76170f5373
yop_probe: check more fields to avoid detecting random data as yop
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
60de761657
ffmpeg: allow overriding input top field first
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Paul B Mahol
824a6975ee
binkaudio: check number of channels
...
Fixes #1380 .
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Michael Niedermayer
8aaa00c301
indeo5: check quant_mat
...
prevents out of array read
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
3b275ce374
fate: dont freopen() stdout
...
it doesnt work and breaks most BSDs
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
0dfcd7e7e3
range coder test code: decoding errors are av_log_error not debug.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
21fdf1ccf0
ffv1: fix reading global header with CRC
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
57778f61d0
avidec: fix odd extradata size case.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
76853a3e0c
libavformat: ff_get_bmp_header: return esize too
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
0fcf3013c4
fate: Fix fate-ac3-fixed-encode for pre-ssse3 x86 machines
...
The default mmxext and sse implementations of apply_window_int16
aren't bitexact.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Samuel Pitoiset
9613240f72
http: Pass the proper return code of net IO operations
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Samuel Pitoiset
1876e7c0c2
http: Add 'post_data', a new option which sets custom HTTP post data
...
This allows doing http posts with a content-length header sent
in advance, avoiding chunked encoding.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago