Paul B Mahol
83f7a5eb62
avfilter/avf_aphasemeter: check return value of ff_insert_outpad()
2018-09-15 21:59:01 +02:00
Paul B Mahol
11fc18994e
avfilter/f_ebur128: check return value of ff_insert_outpad()
2018-09-15 21:59:01 +02:00
Paul B Mahol
e334765408
avfilter/af_anequalizer: check return value of ff_insert_outpad()
2018-09-15 21:59:01 +02:00
Paul B Mahol
876101cf41
avfilter/af_afir: switch to activate
2018-09-15 21:59:01 +02:00
Paul B Mahol
da7a0ac979
avfilter/af_afir: check return value of ff_insert_outpad()
2018-09-15 21:59:01 +02:00
Michael Niedermayer
28b80c2d52
avcodec/shorten: Fix bitstream end check in read_header()
...
Fixes: Timeout
Fixes: 9961/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SHORTEN_fuzzer-5687856176562176
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-09-15 20:00:45 +02:00
Michael Niedermayer
71bf033050
avcodec/dvdsubdec: Avoid branch in decode_run_8bit()
...
Speed improvment 35.5 sec -> 34.7sec
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-09-15 20:00:45 +02:00
Jason Stevens
384dcd66a2
libavformat/mxfenc: fix dnxhr ul typo
...
byte 8 of dnxhr codec ul should be 0x0D
Signed-off-by: Jason Stevens <jay@wizardofthenet.com>
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-09-15 20:00:45 +02:00
James Almer
98518e90aa
avcodec: add missing mpegvideo dependencies to SpeedHQ decoder
...
Signed-off-by: James Almer <jamrial@gmail.com>
2018-09-15 12:35:16 -03:00
Paul B Mahol
91cc3aa8b1
avfilter/avf_showspectrum: add magma color map
2018-09-15 14:08:49 +02:00
James Almer
6304268e39
configure: add missing avcodec dependency to avfilter when bm3d filter is enabled
...
Signed-off-by: James Almer <jamrial@gmail.com>
2018-09-14 21:17:04 -03:00
Paul B Mahol
6a467d432f
avdevice/pulse_audio_dec: set channel map
...
This fixes opening devices with >6 channels.
2018-09-14 22:12:54 +02:00
Michael Bunk
0d7e0f25ca
Fix typos
2018-09-14 21:36:21 +02:00
Carl Eugen Hoyos
0a12af2185
lavf/davs2: Do not mix declarations and code.
...
Fixes the following warning:
libavformat/davs2.c:39:5: warning: ISO C90 forbids mixed declarations and code
2018-09-14 20:55:51 +02:00
James Almer
9d002d7818
x86/float_dsp: add ff_vector_dmul_{sse2,avx}
...
~3x to 5x faster.
Signed-off-by: James Almer <jamrial@gmail.com>
2018-09-14 12:54:42 -03:00
James Almer
93bf1dcaec
checkasm/float_dsp: add test for vector_dmul
...
Signed-off-by: James Almer <jamrial@gmail.com>
2018-09-14 12:51:55 -03:00
James Almer
1b98bfb932
Merge commit '2a9e1c122eed66be1b26b747342b848300b226c7'
...
* commit '2a9e1c122eed66be1b26b747342b848300b226c7':
libfdk-aac: Don't use defined() in a #define
Merged-by: James Almer <jamrial@gmail.com>
2018-09-13 23:16:18 -03:00
Tristan Matthews
f3b430e0e4
lavfi/silencedetect: fix spelling
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-09-14 01:52:29 +02:00
Shiyou Yin
a55adf24b9
avcodec/mips: [loongson] fix bug of svq3-watermark failed in fate test.
...
Failed case: svq3-watermark
When minimum loop count of following functions are greater than parameter h passed to them, svq3-watermark failed.
1. ff_put_pixels4_8_mmi
2. ff_avg_pixels4_8_mmi
3. ff_put_pixels4_l2_8_mmi
4. ff_avg_pixels4_l2_8_mmi
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-09-14 01:52:29 +02:00
Rick Kern
a259501e5a
lavd/avfoundation: Fix skewed video output
...
Fixes ticket #5654 .
The linesize can be greater than the minimum required. This copies the
frame taking linesize into account.
Signed-off-by: Rick Kern <kernrj@gmail.com>
2018-09-14 00:27:44 +02:00
Martin Storsjö
2a9e1c122e
libfdk-aac: Don't use defined() in a #define
...
MSVC expands the preprocessor directives differently, making the
version check fail in the previous form.
Clang can warn about this with -Wexpansion-to-defined (not currently
enabled by default):
warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined]
Signed-off-by: Martin Storsjö <martin@martin.st>
2018-09-13 22:11:50 +03:00
Paul B Mahol
e320f9576a
avfilter/vf_bm3d: use av_clip_uintp2_c where clip is variable
2018-09-13 20:48:08 +02:00
James Almer
309c3a0e81
avcodec/libaom: fix setting amount of threads
...
The libaom doxy says that a value of 0 for the threads fields is
equivalent to a value of 1, whereas for avctx->thread_count it means
the maximum amount of threads possible for the host system.
Use av_cpu_count() to get the correct thread count when auto threads
is requested.
Reviewed-by: Jan Ekström <jeebjp@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
2018-09-13 13:44:45 -03:00
Paul B Mahol
776cdd1dc8
avfilter/vf_remap: refactor code
2018-09-13 12:09:51 +02:00
Paul B Mahol
0ac937f80d
configure: bm3d filter depends on dct in avcodec
2018-09-13 11:27:20 +02:00
Paul B Mahol
544fde1bf8
avfilter: add bm3d filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2018-09-13 11:22:22 +02:00
Paul B Mahol
ecf38be7c7
avfilter: add amultiply audio filter
2018-09-13 10:21:46 +02:00
Paul B Mahol
bb16a0624a
avutil: add float_dsp.vector_dmul
2018-09-12 19:15:09 +02:00
James Almer
b69ea742ab
avcodec/libaomenc: remove AVOption related to frame partitions
...
Support for it was apparently never in the codebase, and the enum
value was recently removed from the public headers [1]
[1] https://aomedia.googlesource.com/aom/+/df4ffb73140fe31bebdabd17c1a7b53721e74838
Signed-off-by: James Almer <jamrial@gmail.com>
2018-09-12 11:44:56 -03:00
hwren
0caa33c60b
lavf: add raw AVS2 demuxer
...
Signed-off-by: hwren <hwrenx@126.com>
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
2018-09-12 12:13:53 +08:00
Steven Liu
2e5860799b
Revert "lavf: add raw AVS2 demuxer"
...
This reverts commit 1e20ed4382
.
2018-09-12 12:11:25 +08:00
Steven Liu
1e20ed4382
lavf: add raw AVS2 demuxer
...
Signed-off-by: hwren <hwrenx@126.com>
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
2018-09-12 11:21:59 +08:00
Michael Niedermayer
4356e03fd6
libavcodec/pnm_parser: do not lose skipped parts in reporting of how much was consumed
...
Fixes: Timeout
Fixes: 9759/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_PPM_fuzzer-5655277650051072
Fixes: 9753/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_PGMYUV_fuzzer-5764378543521792
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-09-12 00:52:01 +02:00
Michael Niedermayer
74af6ae021
avcodec/vp8: Check bitstream input in vp7_fade_frame() before time consuming operation
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-09-12 00:52:01 +02:00
Michael Niedermayer
09f0429b99
avcodec/mjpegdec: simplify rgb index remaping
2018-09-12 00:52:01 +02:00
Mark Thompson
ff21d4735e
lavf/Makefile: Fix standalone build of AVS2 muxer
...
Found-by: Paul B Mahol <onemda@gmail.com>
2018-09-11 22:36:58 +01:00
hwren
ed0bd0a71b
lavf: add raw avs2 muxer
...
Signed-off-by: hwren <hwrenx@126.com>
2018-09-11 21:48:49 +01:00
hwren
85a921f461
lavc, doc, configure: add libxavs2 video encoder wrapper
...
Signed-off-by: hwren <hwrenx@126.com>
2018-09-11 21:48:42 +01:00
James Almer
092cbbfa74
avformat/tcp: re-add checks for setsockopt return values
...
Originally added in 0ed0af595b
and lost
by mistake in ef71ef5f30
.
Signed-off-by: James Almer <jamrial@gmail.com>
2018-09-11 15:48:55 -03:00
James Almer
c7488f7461
Merge commit '7e929dac100916fc45cb95e231025f3439c20156'
...
* commit '7e929dac100916fc45cb95e231025f3439c20156':
libfdk-aacenc: Allow enabling the ELDv2 profile
Merged-by: James Almer <jamrial@gmail.com>
2018-09-11 14:13:28 -03:00
James Almer
94d98330ed
Merge commit '2edaafe5b93832715781851dfe2663da228a05ad'
...
* commit '2edaafe5b93832715781851dfe2663da228a05ad':
libfdk-aacdec: Allow setting the new dynamic range control effect setting
Merged-by: James Almer <jamrial@gmail.com>
2018-09-11 14:13:14 -03:00
James Almer
203bbaccfa
Merge commit 'ffb9b7a6bab6c6bfd3dd9a7c32e3724209824999'
...
* commit 'ffb9b7a6bab6c6bfd3dd9a7c32e3724209824999':
libfdk-aac: Consistently use a proper version check macro for detecting features
Merged-by: James Almer <jamrial@gmail.com>
2018-09-11 14:11:39 -03:00
James Almer
f8377ffce3
Merge commit '642fd4769becc2f4827f8375a3d9e8edd2f5df77'
...
* commit '642fd4769becc2f4827f8375a3d9e8edd2f5df77':
qsvvpp: Perform full init only when needed
Merged-by: James Almer <jamrial@gmail.com>
2018-09-11 14:04:20 -03:00
James Almer
ee96ab2db5
Merge commit '141c960e21d2860e354f9b90df136184dd00a9a8'
...
* commit '141c960e21d2860e354f9b90df136184dd00a9a8':
libfdk-aacenc: Fix building with libfdk-aac v2
Merged-by: James Almer <jamrial@gmail.com>
2018-09-11 14:02:58 -03:00
James Almer
a12063b118
Merge commit 'c8bca9fe466f810fd484e2c6db7ef7bc83b5a943'
...
* commit 'c8bca9fe466f810fd484e2c6db7ef7bc83b5a943':
lavc/qsvenc: dump BufferSizeInKB message
Merged-by: James Almer <jamrial@gmail.com>
2018-09-11 14:01:47 -03:00
James Almer
27e30c73d7
Merge commit 'e16b20782a597e36a9c7488487c3179375a25b97'
...
* commit 'e16b20782a597e36a9c7488487c3179375a25b97':
lavc/qsvenc: allow to set qp range for h264 BRC
Merged-by: James Almer <jamrial@gmail.com>
2018-09-11 13:57:49 -03:00
James Almer
ff44c2d4f4
Merge commit '83678dbbae64ad8c501e0c732c1117e642c25dae'
...
* commit '83678dbbae64ad8c501e0c732c1117e642c25dae':
libopenh264dec: Export the decoded profile and level in AVCodecContext
Merged-by: James Almer <jamrial@gmail.com>
2018-09-11 13:57:23 -03:00
James Almer
ef71ef5f30
Merge commit '8c76bfacf663ff71cee5264a74d0f9c86addd325'
...
* commit '8c76bfacf663ff71cee5264a74d0f9c86addd325':
tcp: Use ff_connect_parallel for RFC 8305 style connecting
Merged-by: James Almer <jamrial@gmail.com>
2018-09-11 13:54:59 -03:00
James Almer
762c2b5dcd
Merge commit '9b4c3f5aadf54ffd2a6e15746b1fd736379883c4'
...
* commit '9b4c3f5aadf54ffd2a6e15746b1fd736379883c4':
network: Add RFC 8305 style "Happy Eyeballs"/"Fast Fallback" helper function
Merged-by: James Almer <jamrial@gmail.com>
2018-09-11 13:54:30 -03:00
James Almer
23ce57af3a
Merge commit '69caad8959982580504643d36aef22528e4aa6ce'
...
* commit '69caad8959982580504643d36aef22528e4aa6ce':
qsvdec: Release packet on decoding failure for mpeg2/vp8/vc1
Merged-by: James Almer <jamrial@gmail.com>
2018-09-11 13:42:09 -03:00