Diego Biurrun
b78f81c803
h261: K&R formatting and prettyprinting cosmetics
12 years ago
Diego Biurrun
66ac3dbf1e
h261: Move function declarations to h261.h
12 years ago
Diego Biurrun
ed16c2dbf4
h261: Remove H.261 loop filter from dsputil
...
There is no arch-optimized version of the H.261 loop filter and there
likely will never be, so the dsputil overhead does not give any benefit.
12 years ago
Diego Biurrun
ae35d91d44
h261: Move ff_h261_rl_table_store declaration to header file
12 years ago
Nicolas Bertrand
28a807e28b
libopenjpeg: Add support for XYZ colorspace, found in DCINEMA frames
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
12 years ago
Nicolas Bertrand
8c65264595
pixdesc/pixfmt: Add XYZ colorspace for XYZ 12-bit values
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
12 years ago
Nicolas Bertrand
5e46f6b5b7
img2: Add j2k file extension for JPEG 2000
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
12 years ago
Anton Khirnov
f8080bd13b
xmv: do not leak memory in the error paths in xmv_read_header()
...
CC: libav-stable@libav.org
12 years ago
Anton Khirnov
d1016dccdc
xmv: check audio track parameters validity.
...
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
12 years ago
Anton Khirnov
b88f902125
bmv: check for len being valid in bmv_decode_frame().
...
It can be 0 or -1 for invalid files, which may result in invalid memory
access.
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
12 years ago
Anton Khirnov
8d617b11cf
id3v2: pad the APIC packets as required by lavc.
...
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
12 years ago
Anton Khirnov
3623589edc
dfa: check for invalid access in decode_wdlt().
...
This can happen when the number of skipped lines is not consistent with
the number of coded lines.
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
12 years ago
Anton Khirnov
dbb1425811
lavf: make sure stream probe data gets freed.
...
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
12 years ago
Anton Khirnov
6d0546bbaf
avfiltergraph: set deprecated filter_count.
12 years ago
Anton Khirnov
bcc9432898
opt: check the return values of av_get_token for ENOMEM.
12 years ago
Peter Meerwald
dfcbe8cbd7
doc: Fix best_nb_channells typo
...
Signed-off-by: Peter Meerwald <p.meerwald@bct-electronic.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years ago
Luca Barbato
25a80a931a
matroska: pass the lace size to the matroska_parse_rm_audio
...
Each lace must be independent according to the specification.
Fix heap-buffer-overflow in matroska_parse_block for
corrupted real media in mkv files.
Stricter check than fc43c19a56
CC: libav-stable@libav.org
12 years ago
Luca Barbato
8a96df7b70
matroska: fix a corner case in ebml-lace parsing
...
Make sure we notice when the lace_size[n] is a negative value.
CC: libav-stable@libav.org
12 years ago
Dale Curtis
fc43c19a56
matroska: Update the available size after lace parsing
...
Fix heap-buffer-overflow in matroska_parse_block for
corrupted real media in mkv files.
CC: libav-stable@libav.org
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
12 years ago
Luca Barbato
19f251a288
clang: use -fsantize=address and -fsanitize=thread
...
The previous syntax is deprecated.
12 years ago
Anton Khirnov
6e3c13a559
avfiltergraph: check for sws opts being non-NULL before using them.
...
Avoid snprintfing a NULL pointer.
CC: libav-stable@libav.org
12 years ago
Martin Storsjö
817dff578f
configure: Check for the atomic.h functions used in the suncc atomics header
...
The "suncc" atomics implementation uses a suncc specific memory
barrier, but also relies on a few atomic functions from atomic.h,
that are not suncc specific but specific to solaris. This made
the current implementation fail on suncc on linux.
12 years ago
Anton Khirnov
f9f6402e9c
configure: prettify atomics handling.
...
Add simpler names and a shorthand for native atomics (as opposed to
pthreads fallback).
12 years ago
Luca Barbato
0933fd1533
oma: Validate sample rates
...
The sample rate index is 3 bits even if currently index 5, 6 and 7 are
not supported.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
12 years ago
Derek Buitenhuis
f2f57d1679
doc/platform: Remove part about dllimport
...
Only deprecated things need this at all anymore, as we have functions
to access them or they are no longer needed.
The document should not encourage use of deprecated APIs.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
12 years ago
Matt Wolenetz
1d6e618939
vp8: Fix pthread_cond and pthread_mutex leaks
...
CC: libav-stable@libav.org
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
12 years ago
Luca Barbato
b01b60a29d
fate: add an option to generate the references
...
Useful to add or update fate tests.
12 years ago
Justin Ruggles
e46a2a7309
flvdec: read audio sample size and channels metadata
...
This is needed in order for the FLV demuxer not to detect a codec change when
using the "flv_metadata" option.
12 years ago
Justin Ruggles
c3d0157753
flvdec: use the correct audio codec id when parsing metadata
12 years ago
Alexandra Khirnova
0afcf97e1e
vmdav: convert to bytestream2
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years ago
Anton Khirnov
8a2f5f0c63
FATE: add a test for the join filter
12 years ago
Anton Khirnov
9e9cd98aed
FATE: add a test for the volume filter
12 years ago
Anton Khirnov
43a8333a16
FATE: add a test for the channelsplit filter
12 years ago
Anton Khirnov
33942b7bde
FATE: add a test for the channelmap filter
12 years ago
Anton Khirnov
f917420378
FATE: add a test for the negate filter
12 years ago
Anton Khirnov
3d8c80b611
FATE: add a test for the overlay filter
12 years ago
Anton Khirnov
ea290d919a
FATE: add a test for the setpts filter
12 years ago
Anton Khirnov
71f3ede24e
FATE: add a test for the hqdn3d filter
12 years ago
Anton Khirnov
0bdbd85e47
FATE: add a test for the transpose filter
12 years ago
Anton Khirnov
ad85e8d9a5
FATE: add a test for the unsharp filter
12 years ago
Anton Khirnov
1a6d4bd7b6
FATE: add a test for the fade filter
12 years ago
Anton Khirnov
feb4922b25
FATE: add a test for the drawbox filter
12 years ago
Anton Khirnov
a222997650
FATE: add a test for the boxblur filter
12 years ago
Anton Khirnov
7cec12748a
FATE: add a test for the gradfun filter
12 years ago
Clément Bœsch
1ae44c87c9
lavfi/gradfun: remove rounding to match C and SSE code.
...
There is no noticable benefit for such precision.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years ago
Clément Bœsch
38a2f88d39
lavfi/gradfun: fix dithering in MMX code.
...
Current dithering only uses the first 4 instead of the whole 8 random values.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years ago
Clément Bœsch
2d66fc543b
lavfi/gradfun: fix rounding in MMX code.
...
Current code divides before increasing precision.
Also reduce upper bound for strength from 255 to 64. This will prevent
an overflow in the SSSE3 and MMX filter_line code: delta is expressed as
an u16 being shifted by 2 to the left. If it overflows, having a
strength not above 64 will make sure that m is set to 0 (making the
m*m*delta >> 14 expression void).
A value above 64 should not make any sense unless gradfun is used as
a blur filter.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years ago
Clément Bœsch
8b9a153ef3
lavfi/gradfun: do not increment DC pointer for odd values.
...
First DC is only used once otherwise. This also makes the code
consistent with ASM versions.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years ago
Diego Biurrun
f2a59722d1
fate: filter: Add dependencies
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years ago
Anton Khirnov
a4208b9b7d
avconv: add options for reading filtergraphs from a file.
12 years ago