Michael Niedermayer
1e00bbb10c
avcodec/lcldec: Check that dimensions are a multiple of the subsample factors
...
Other dimensions would not work correctly currently,
also ask for a sample for files that fail this check.
This fixes an integer overflow leading to out of array
accesses.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Clément Bœsch
b3c263e209
lavu/common: make FF_CEIL_RSHIFT faster when shift is constant.
...
See "[PATCH] lavfi/lut: use FF_CEIL_RSHIFT for chroma w/h rounding."
thread for more information.
12 years ago
Michael Niedermayer
45150f90e7
fate: fix filter-colorchannelmixer by adding bitexact & accurate flags
...
Idea by durandal11707
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Paul B Mahol
8671e995c8
imgconvert: silence "incompatible pointer type" warning
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Michael Niedermayer
f9db2fc84d
cdgraphics: initialize buffer
...
Prevent use of uninitialized memory
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
e6b6ae4695
vorbisdec: check codebook entry count
...
Fixes assertion failure
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Stefano Sabatini
3a4c8788e3
tools/ffeval: use av_dynarray2_add()
...
Simplify, increment robustness.
12 years ago
Stefano Sabatini
e3984166a4
lavu/mem: add av_dynarray2_add()
...
Based on a patch by Clément Bœsch.
See thread:
From: Clément Bœsch <ubitux@gmail.com>
Subject: [FFmpeg-devel] [PATCH 1/5] lavu: add av_dynarray_alloc_elem().
Date: Sun, 14 Apr 2013 03:07:54 +0200
12 years ago
Stefano Sabatini
84be806982
lavu: define FF_MEMORY_POISON and use it
...
Allow single-place definition of constant used to fill poisoned memory.
12 years ago
Michael Niedermayer
e70e2583d0
Merge remote-tracking branch 'cehoyos/master'
...
* cehoyos/master:
Do not read strd chunk in avi files as H264 extradata.
Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Paul B Mahol
2dedd8988a
fate: add colorchannelmixer test
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Carl Eugen Hoyos
231b331718
Do not read strd chunk in avi files as H264 extradata.
...
Fixes ticket #2561 .
12 years ago
Paul B Mahol
4383e1b239
tests/lavf-regression: fix gbrp10 dpx test on big endian
...
For some reason only for that pix format decoder picks native format.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Michael Niedermayer
df4f4fc8a5
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
configure: x86: Only enable cpunop on i686
Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
69d52ef8ff
Merge commit 'f54b55058a429c4eea5bae7e5bcb49bd29b34199'
...
* commit 'f54b55058a429c4eea5bae7e5bcb49bd29b34199':
configure: Rename cmov processor capability to i686
Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
6585275e79
Merge commit 'e08c946c6860a78b0c479551d5f6735361160cbd'
...
* commit 'e08c946c6860a78b0c479551d5f6735361160cbd':
configure: Explicitly disable PIC when targeting win32/mingw
Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
352eb1f02f
Merge commit 'b1803c79dcd6d0a345fa1cbe18dd8e2149717121'
...
* commit 'b1803c79dcd6d0a345fa1cbe18dd8e2149717121':
configure: Use enable_weak when enabling pic
Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Andrey Utkin
bc63a76083
pngenc: Add 'dpi', 'dpm' options
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Paul B Mahol
c0a30dd2e4
fate: increase coverage for dpx encoder
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
ae9ef151ad
dpxenc: simplifiy code using AVPixFmtDescriptor
...
Update rgb24 fate test as it no longer writes image in big endian
format.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
22a038606c
dpxenc: do not set coded_frame
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Diego Biurrun
1399931d07
x86: dsputil: Rename dsputil_mmx.h --> dsputil_x86.h
...
The header is not (anymore) MMX-specific.
12 years ago
Diego Biurrun
245b76a108
x86: dsputil: Split inline assembly from init code
...
Also remove some pointless comments.
12 years ago
Diego Biurrun
46bb456853
x86: dsputil: Refactor pixels16 wrapper functions with a macro
12 years ago
Michael Niedermayer
145e644aee
sws/output: remove offset/coef for alpha in rgba64
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Paul B Mahol
e1746d057b
swscale: RGBA64 output
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Diego Biurrun
2c2c48a9bd
configure: x86: Only enable cpunop on i686
...
The assembler may insert nopl instructions for cpunop, which are not
(universally) supported on i586 CPUs.
12 years ago
Diego Biurrun
f54b55058a
configure: Rename cmov processor capability to i686
...
The goal is to make the capapility slightly more general and have it
cover the availability of the nopl instruction in addition to cmov.
12 years ago
Claudio Freire
e41cd3cdeb
aacenc: Fix ticket #1784 : erasure of surround channels
...
This was due to a miscomputation of s->cur_channel, which led to
psy-based encoders using the psy coefficients for the wrong channel.
Test sample attached on the bug tracker had the peculiar case of all
other channels being silent, so the error was far more noticeable.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Martin Storsjö
e08c946c68
configure: Explicitly disable PIC when targeting win32/mingw
...
These platforms do not have any notion of PIC. On some compilers,
enabling pic produces a number of warnings.
This avoids trying to produce PIC loads in the ARM assembly - there
are no relocation types in PE/COFF that correspond to
BFD_RELOC_32_PCREL (R_ARM_REL32 in ELF).
As a side-effect, this avoids enabling PIC on mingw64, getting rid
of the warnings about PIC not having any effect on that platform.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
b1803c79dc
configure: Use enable_weak when enabling pic
...
This allows it to be overridden, either by the user on the command
line, or by other sections of the configure script.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Michael Niedermayer
91f4a44ff4
sws/packed_16bpc_bswap: fix handling of negative stride
12 years ago
Michael Niedermayer
63725d158d
Revert "sws: support endianness conversion for AV_PIX_FMT_RGBA64"
...
This reverts commit 23f7b14f28
.
This commit broke fate
12 years ago
Paul B Mahol
d93bc4ef5c
redspark: fix memleak in redspark_read_header
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
87888c043d
fate: add exr tests
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
23f7b14f28
sws: support endianness conversion for AV_PIX_FMT_RGBA64
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Clément Bœsch
cd43a7e945
doc/filters: split item options which are not aliases.
12 years ago
Clément Bœsch
09d3449a8f
fate/filter: test gradfun timeline.
12 years ago
Clément Bœsch
9b11c2ef36
fate/filter: test hqdn3d timeline.
12 years ago
Clément Bœsch
0122300c86
lavfi/hqdn3d: restore timeline feature.
12 years ago
Clément Bœsch
0652111833
lavfi/hqdn3d: use macros instead of hardcoded indexes.
12 years ago
Clément Bœsch
1776177b7f
lavfi: replace passthrough_filter_frame with a flag.
...
With the introduction of AVFilterContext->is_disabled, we can simplify
the custom passthrough mode in filters.
This commit is technically a small compat break, but the timeline was
introduced very recently.
Doxy by Stefano Sabatini.
12 years ago
Clément Bœsch
60f0e30431
lavfi/vflip: use FF_CEIL_RSHIFT for chroma w/h rounding.
12 years ago
Clément Bœsch
59d33eafd1
lavfi/lut: use FF_CEIL_RSHIFT for chroma w/h rounding.
12 years ago
Paul B Mahol
91cae60ecb
lavfi/select: unbreak compatibility with older PICT_TYPE syntax
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Michael Niedermayer
cbcc5cbbd8
Merge remote-tracking branch 'jamrial/adpcm'
...
* jamrial/adpcm:
ADPCM IMA Radical decoder
RedSpark demuxer
RSD demuxer
adpcm_thp: Allow the use of extradata for the adpcm table
ADP demuxer
ADPCM DTK decoder
Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
9a2153894f
ffv1enc: fix 1000l typo
...
Thanks to ubitux for spotting that
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
b8a2331a70
ffv1: check for malloc failure.
...
Somehow i managed to loose this fix before pushing
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
bd63f8f657
ffv1enc: Fix memleak
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
19411d32d4
ffv1enc: dont set coded_frame
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago