Diego Biurrun
39e208f4d4
build: Generalize yasm/nasm-related variable names
None of them are specific to the YASM assembler.
9 years ago
Diego Biurrun
d1d6230ea3
build: Add "build" shorthand target that depends on all compile targets
9 years ago
Carl Eugen Hoyos
d100dc6c99
Makefile: Clean compat subdirectory.
Fixes ticket #5546 .
9 years ago
Diego Biurrun
4d1f7e8bc7
build: Skip generating .version files when cleaning
9 years ago
Diego Biurrun
58407b4d74
configure: Fix typo in objcc default setting
Also drop stray duplicate OBJCC config.mak entry.
9 years ago
Diego Biurrun
fde7ee8710
x86: hevc: Add missing colons after assembly labels
This fixes several warnings of the sort
warning: label alone on a line without a colon might be in error
9 years ago
Diego Biurrun
7cb1d9e2db
build: Fine-grained link-time dependency settings
Previously, all link-time dependencies were added for all libraries,
resulting in bogus link-time dependencies since not all dependencies
are shared across libraries. Also, in some cases like libavutil, not
all dependencies were taken into account, resulting in some cases of
underlinking.
To address all this mess a machinery is added for tracking which
dependency belongs to which library component and then leveraged
to determine correct dependencies for all individual libraries.
9 years ago
Diego Biurrun
d154bdd3d0
configure: Simplify dlopen check
9 years ago
Carl Eugen Hoyos
b8a7dcbde2
lavf/matroskadec: Fix demuxing sipr.
Regression since 2c8d876d
9 years ago
Michael Niedermayer
d7b2bb5391
h264_sei: Check actual presence of picture timing SEI message
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
9 years ago
Diego Biurrun
21cca00dfe
build: Explicitly disable external libraries when not explicitly enabled
Leaving those variables in an undefined state allows them getting implicitly
enabled when they are declared as weak dependencies of other components.
In that case, the library check is not run and required linker flags are not
added, resulting in a failing build.
Fixes linking when enabling libfreetype without libfontconfig.
9 years ago
Diego Biurrun
e1a6d63c7e
fate: Rename WMV8_DRM decoder tests to WMV3_DRM
The codec used in those files is WMV3/WMV9, not WMV2/WMV8.
13 years ago
Luca Barbato
79331df362
rtsp: Lazily set up the pollfd array once
9 years ago
Ben Chang
d8f36a6aa3
nvenc: Fix the preset mapping list
The map is a sparse array and does not need a empty element to terminate
it.
The empty element is stored after the last one inserted in the list,
overwriting whichever element was next with zeros.
Bug-Id: 1029
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
9 years ago
Michael Niedermayer
7f62368bac
MAINTAINERS: Add Rodger Combs to ffmpeg-security
Rodger Combs will be added to the ffmpeg-security alias when this patch is applied
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Reviewed-by: Clément Bœsch <u@pkh.me>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
4f21868207
MAINTAINERS: add wm4 to ffmpeg-security
wm4 will be added to the ffmpeg-security alias when this patch is applied
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Reviewed-by: Clément Bœsch <u@pkh.me>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
3d66eb6ec3
MAINTAINERS: Make formating of ffmpeg-security entry the same as others
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
4c0139463c
avcodec/vp56: Factorize vp56_render_mb() out
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
949d2176ef
avcodec/dca: Fix multiple runtime error: signed integer overflow
Fixes: 680/clusterfuzz-testcase-5416627266912256
Fixes: 681/clusterfuzz-testcase-5013323462475776
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
63e400a880
avcodec/pictordec: Check plane value before doing value/mask computations
Fixes integer overflow
Fixes: 675/clusterfuzz-testcase-6722971232108544
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
25e93aacc2
avcodec/mpeg4videodec: Fix runtime error: left shift of negative value -2650
Fixes: 674/clusterfuzz-testcase-6713275880308736
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
4ea7744859
avcodec/h264idct_template: Fix multiple runtime error: signed integer overflow
Fixes: 677/clusterfuzz-testcase-6635120628858880
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Reviewed-by: Steven Liu <lingjiujianke@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Paul B Mahol
26a7d6a301
avcodec/qdrw: check bytes per scanline for 2bpp images
One byte less is read in case of small width.
Closes #6194 .
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Diego Biurrun
698ac8f9ca
fate: Make null comparison method more useful
This allows dropping /dev/null as reference value when no output is generated.
13 years ago
Diego Biurrun
c483398bb7
build: Drop DOC_ prefix from EXAMPLES-related variables
9 years ago
Paul B Mahol
86ab6b6e08
avcodec/scpr: check if total_freq is 0 in decode0
Fixes SIGFPE, closes #6196 .
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Luca Barbato
5263f464db
rtsp: Lazily allocate the pollfd array
And use av_malloc_array.
9 years ago
Luca Barbato
b9b82151a1
rtsp: Move the pollfd setup out of the for loop
9 years ago
Luca Barbato
150e99d694
rtsp: Factor out packet reading
9 years ago
James Darnley
33de0fee2c
avcodec/h264: enable sse2 chroma deblock/loop filter functions
Between 1.00 and 1.16 times faster on Intel Yorkfield Core 2 Quad.
Between 1.11 and 1.39 times faster on Intel Kaby Lake Pentium.
9 years ago
James Darnley
cd893b9307
avcodec/h264: add avx 8-bit 4:2:2 chroma h intra deblock/loop filter
~1.37x faster (147 vs. 108 cycles) compared to mmxext function
9 years ago
James Darnley
0e16b3e2be
avcodec/h264: add avx 8-bit 4:2:0 chroma h intra deblock/loop filter
~1.10x faster (69 vs. 63 cycles) compared to mmxext function
9 years ago
James Darnley
987ffe4b8d
avcodec/h264: add avx 8-bit chroma v intra deblock/loop filter
~1.14x faster (90 vs 78 cycles) compared with mmxext
9 years ago
James Darnley
88307b3eec
avcodec/h264: add avx 8-bit 4:2:2 chroma h deblock/loop filter
~1.21x faster (68 vs. 56 cycles) compared with mmxext function
9 years ago
James Darnley
ac096fc82d
avcodec/h264: add avx 8-bit 4:2:0 chroma h deblock/loop filter
~1.14x faster (93 vs. 81 cycles) compared with mmxext function
9 years ago
James Darnley
5c56758843
avcodec/h264: add avx 8-bit chroma v deblock/loop filter
~1.24x faster (101 vs. 81 cycles) compared with mmxext function
9 years ago
Carl Eugen Hoyos
1e298e7724
lavc/svq3: Remove an unused function.
9 years ago
Paul B Mahol
3a7f8d2a1f
avcodec/qdrw: consume bytes when end is reached for 8bpp case
This should really be part of previous commit.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
1dcf91f2d3
avcodec/qdrw: fix decoding of odd sized images for 8bpp
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
dc78696ea4
avcodec/qdrw: fix decoding odd size images for 2bpp and 4bpp
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
05aa53dc55
avcodec/qdrw: fix decoding odd size images for 16bit case
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Diego Biurrun
4141a5a240
Use modern avconv syntax for codec selection in documentation and tests
13 years ago
Diego Biurrun
da8093f712
fate: Use bitexact optimizations in the svq3-2 test
This fixes the test with mmxext disabled because the current reference
frame hashes correspond to the non-bitexact mmxext optimizations.
9 years ago
Carl Eugen Hoyos
f8d2079a67
ffmpeg: Add a linebreak to an error message.
9 years ago
Marton Balint
80b644c6ee
avdevice/decklink_dec: remove AVFMT_RAWPICTURE
It has no effect for input devices.
Signed-off-by: Marton Balint <cus@passwd.hu>
9 years ago
Marton Balint
418ce91507
avdevice/decklink_enc: convert AVFMT_RAWPICTURE to AV_CODEC_ID_WRAPPED_AVFRAME
Signed-off-by: Marton Balint <cus@passwd.hu>
9 years ago
Marton Balint
48f8ad3290
avdevice/decklink_enc: add support to specify field order
Signed-off-by: Marton Balint <cus@passwd.hu>
9 years ago
Marton Balint
e0eb0bdab9
avdevice/decklink_enc: convert to codecpar
Signed-off-by: Marton Balint <cus@passwd.hu>
9 years ago
Paul B Mahol
6d856b2579
avcodec/scpr: add support for older version
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Michael Niedermayer
7e9ba78f6b
avcodec/flacdsp: Fix: runtime error: signed integer overflow: -1027555328 + -1226681270 cannot be represented in type 'int'
Fixes: 673/clusterfuzz-testcase-5948736536576000
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago