Paul B Mahol
c439c6b191
avfilter/af_headphone: improve stereo hrir support
...
Until now, in some cases produced output would be wrong.
3 years ago
Michael Niedermayer
1372b30db2
tools/target_dem_fuzzer: Force interrupt for HLS
...
Fixes: Timeout
Fixes: 41580/clusterfuzz-testcase-minimized-ffmpeg_dem_HLS_fuzzer-5059099224571904
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 years ago
Michael Niedermayer
cd4ce3b862
tools/target_dem_fuzzer: Test interrupt callback
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 years ago
Stephen Hutchinson
0d34e21282
avformat/avisynth: fix frameprop version check
...
Trying to be clever about determining between interface version 8
and 8.1 ended up with pre-8.1 versions of AviSynth+ segfaulting.
The amount of time between interface version 8.1 and 9 is small,
so just restrict the frameprop awareness to version 9 and call it
a day.
Signed-off-by: Stephen Hutchinson <qyot27@gmail.com>
3 years ago
Andreas Rheinhardt
3abb80f65b
avcodec/msmpeg4dec: Reindent after the previous commit
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
3 years ago
Andreas Rheinhardt
569a0d0012
avcodec/msmpeg4dec: Make initializing VLCs thread-safe
...
This automatically makes the remaining mpegvideo-decoders
(namely msmpeg4v[1-3], mss2, VC-1, VC-1 Image, WMV-[1-3]
and WMV-3 Image) init-threadsafe.
These were the last native codecs that were not init-threadsafe;
only wrappers for external libraries and for hardware accelerations
are now not init-threadsafe.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
3 years ago
Andreas Rheinhardt
23b17f96f7
avcodec/avcodec: Decrease the amount of time while holding the lock
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
3 years ago
Andreas Rheinhardt
1e93f42743
avcodec/vorbisdec: Mark decoder as init-threadsafe
...
It does not modify any static data in its init function.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
3 years ago
Andreas Rheinhardt
8359803957
avcodec/ituh263dec: Reindent after the last commit
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
3 years ago
Andreas Rheinhardt
f326855947
avcodec/ituh263dec: Make initializing VLCs thread-safe
...
This automatically makes the FLV, H.263, H.263+, Intel H.263,
MPEG-4, RealVideo 1.0 and RealVideo 2.0 decoders init-threadsafe.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
3 years ago
Andreas Rheinhardt
6b39573547
avcodec/alsdec: Mark decoder as init-threadsafe
...
It does not initialize any static data in its init function.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
3 years ago
Andreas Rheinhardt
3b08e046af
avcodec/alsdec, mlz: Check allocation
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
3 years ago
Andreas Rheinhardt
e925d5453b
avcodec/alsdec: Improve code locality
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
3 years ago
Andreas Rheinhardt
1fc631c94a
avcodec/alsdec: Return directly upon error
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
3 years ago
Andreas Rheinhardt
1070510c59
avcodec/apedec: Mark decoder as init-threadsafe
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
3 years ago
Andreas Rheinhardt
3e0b6f42e3
avcodec/rv40: Make decoder init-threadsafe
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
3 years ago
Andreas Rheinhardt
422e937586
avcodec/rv30: Mark decoder as init-threadsafe
...
Init-threadsafe since f697622f68
.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
3 years ago
Andreas Rheinhardt
1ece38668f
avcodec/svq3: Mark decoder as init-threadsafe
...
The only interesting thing done in SVQ3's init function
is using zlib, but this is fine: https://zlib.net/zlib_faq.html#faq21
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
3 years ago
Paul B Mahol
51cd565208
avfilter/vf_xmedian: small additional speedup
3 years ago
Paul B Mahol
cca6fe7fe0
avfilter/vf_xmedian: refactor slice function
3 years ago
Paul B Mahol
b40419c99b
avfilter/vf_atadenoise: fix >8 depth filtering with planes disabled
3 years ago
Paul B Mahol
33417198aa
avfilter/vf_mix: additional speedup
3 years ago
Jiasheng Jiang
656cb0450a
avcodec/vp3: Add missing check for av_malloc
...
Since the av_malloc() may fail and return NULL pointer,
it is needed that the 's->edge_emu_buffer' should be checked
whether the new allocation is success.
Fixes: d14723861b
("VP3: fix decoding of videos with stride > 2048")
Reviewed-by: Peter Ross <pross@xvid.org>
Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
3 years ago
Paul B Mahol
cc2b3201e7
avfilter/vf_waveform: do not add tint if output format is gray
3 years ago
Paul B Mahol
da473e0984
avfilter/vf_extractplanes: unbreak "extracting" >8 depth gray formats
3 years ago
Paul B Mahol
b66afd1caa
avfilter/vf_amplify: add float formats support
3 years ago
Paul B Mahol
c644d6605d
avfilter/vf_amplify: refactor amplify function
3 years ago
Paul B Mahol
51b968c66e
avfilter/vf_mix: refactor mix function
3 years ago
Paul B Mahol
891c3bef6f
avfilter/vf_fieldmatch: fix crash when inputs have different subsampling
3 years ago
Alan Kelly
e534d98af3
libswscale: Re-factor ff_shuffle_filter_coefficients.
...
Make the code more readable and follow the style guide.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 years ago
Alan Kelly
f1a5414c97
libswscale: Check and propagate memory allocation errors from ff_shuffle_filter_coefficients.
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 years ago
Gyan Doshi
2812508086
doc/muxers: add entry for empty_hdlr_name in mov
3 years ago
Anton Khirnov
09ca2f1950
lavu/hwcontext: clarify behavior on av_hwframe_map() failure
...
Clear anything that av_hwframe_map() might have done to the destination
frame, but leave caller-provided fields unchanged.
3 years ago
Anton Khirnov
6fc5e5a52c
lavu/hwcontext_opencl: clear dangling pointers on map failure
3 years ago
Paul B Mahol
881b80ffcf
avfilter/vf_mix: use correct type for flags
3 years ago
Paul B Mahol
b9306afce6
avfilter/vf_mix: fix handling non-native endianess formats
3 years ago
Paul B Mahol
d151166fe1
avfilter/vf_mix: add missing float format support
3 years ago
Paul B Mahol
2d87cae55c
avfilter/vf_readeia608: fix oversight in 278984b34
3 years ago
Paul B Mahol
7ad645eb7e
avfilter/af_surround: fix oversight with inverse rdft initialization
3 years ago
Paul B Mahol
698de27f25
avfilter/af_speechnorm: speed up filtering code
...
Reduce some asserts by default.
3 years ago
Paul B Mahol
52218c0322
avfilter/af_superequalizer: stop extending last frame duration
3 years ago
Paul B Mahol
18ad9fb0c5
avfilter/af_superequalizer: switch rdft to lavu/tx
3 years ago
Paul B Mahol
a63879049d
avfilter/af_superequalizer: check allocations return value
3 years ago
Peter Ross
6474300dc4
avformat/utils: fix logic error in ff_mkdir_p
...
Fix ticket# 9605
Signed-off-by: Peter Ross <pross@xvid.org>
3 years ago
Michael Niedermayer
2db9ffb88b
avformat/argo_cvg: Fix checksum
...
Reviewed-by: Zane van Iperen <zane@zanevaniperen.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 years ago
Michael Niedermayer
f306b8e80a
avcodec/jpeglsdec: Fix if( code style
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 years ago
Michael Niedermayer
151f83584e
avcodec/jpeglsdec: Check get_ur_golomb_jpegls() for error
...
Fixes: Timeout
Fixes: Invalid shift
Fixes: 44548/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_JPEGLS_fuzzer-556487680891289
Fixes: 44569/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_AMV_fuzzer-6302543246917632
Fixes: 44570/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_THP_fuzzer-4550196556595200
Fixes: 44592/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MJPEG_fuzzer-5651610385121280
Fixes: 44571/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_TIFF_fuzzer-5094698987945984
Fixes: 44607/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_TIFF_fuzzer-5341352013987840
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 years ago
Michael Niedermayer
8ee0e4abcb
avformat/mov: Corner case encryption error cleanup in mov_read_senc()
...
Fixes: memleak
Fixes: 42341/clusterfuzz-testcase-minimized-ffmpeg_dem_MOV_fuzzer-4566632823914496
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 years ago
Paul B Mahol
30c7f37d80
avfilter/vf_mix: add planes option
3 years ago
Andreas Rheinhardt
538be75a69
avcodec/error_resilience: Remove unused label
...
Forgotten in be95df12bb
.
Reviewed-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
3 years ago