Commit Graph

9259 Commits

Author SHA1 Message Date
openvela-robot 2abdb3a8da cbs: Always check for bitstream end before reading 2026-04-20 19:37:39 +08:00
Paul B Mahol 5a7b5a5337 avfilter/af_dcshift: do not leak out frame
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2026-04-20 19:37:36 +08:00
Nicolas George 6baa948e51 lavfi/framesync: remove dead code.
Fix CID 1416960.
2026-04-20 19:37:36 +08:00
Nicolas George fb8b2a4d4d lavfi/framesync: reword repeatlast option help. 2026-04-20 19:37:36 +08:00
Nicolas George f39895ee3e lavfi: rename framesync2 to framesync. 2026-04-20 19:37:36 +08:00
Nicolas George 3fb62a4b97 lavfi: remove framesync. 2026-04-20 19:37:36 +08:00
Nicolas George cd8a8a43c7 lavfi/af_sidechaincompress: use helper macros. 2026-04-20 19:37:36 +08:00
Nicolas George 3de1715f73 lavfi/af_agate: use helper macros. 2026-04-20 19:37:36 +08:00
Nicolas George a3af04c168 lavfi: add helper functions and macros for activate. 2026-04-20 19:37:36 +08:00
James Almer 14c2aef6ba avfilter/vf_convolve: use av_clip_uint8
Fixes fate-source.
2026-04-20 19:37:34 +08:00
Paul B Mahol 0aa3686390 avfilter: add generic FFT video convolve filter
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2026-04-20 19:37:34 +08:00
Clément Bœsch 4fc9351bf7 lavfi/coreimage: reduce dependency scope from QuartzCore to CoreImage
What is required by the filter is CoreImage, there is no QuartzCore
usage. QuartzCore/CoreImage.h is simply an include to
CoreImage/CoreImage.h.
2026-04-20 19:37:33 +08:00
Paul B Mahol 3af8cc5b50 avfilter: add Haas stereo enhancer
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2026-04-20 19:37:33 +08:00
Nicolas George 9ba8058d0a lavfi/buffersrc: add av_buffersrc_close(). 2026-04-20 19:37:32 +08:00
Nicolas George cc0e45a5e7 lavfi: guess a timestamp for compat status change.
Use the earliest input with the same status.
If that fails, print a warning and use the earliest source.
With this change, simple filter forward correctly the timestamp
of EOF.
Filters that are supposed to change it should be updated to
actually forward it.
2026-04-20 19:37:32 +08:00
Paul B Mahol 13a4b2e656 avfilter/vf_zoompan: fix specific corner case when no frame was ever requested from input
Reported-by: Nicolas George
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2026-04-20 19:37:32 +08:00
Pavel Koshevoy 52a6db5506 lavfi/atempo: Avoid false triggering an assertion failure
Steps to reproduce:
1. revert 4240e5b047
2. ./ffmpeg -f lavfi -i sine=d=1 -af aselect=e=0,atempo=0.5 -y atempo.wav

Signed-off-by: Marton Balint <cus@passwd.hu>
2026-04-20 19:37:31 +08:00
Pavel Koshevoy 7f7738cf0c Revert "lavfi/atempo: avoid false triggering an assertion failure"
This reverts commit 4240e5b047.

Fixes ticket #6540.

Signed-off-by: Marton Balint <cus@passwd.hu>
2026-04-20 19:37:31 +08:00
Paul B Mahol 0c3b7bae5d avfilter/af_dcshift: add direct path
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2026-04-20 19:37:31 +08:00
Michael Niedermayer 831bc48450 avfilter/vf_overlay: Restore shorthand option order
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2026-04-20 19:37:31 +08:00
James Almer 54c7e7f91c avfilter/lavfutils: remove usage of AVStream->codec
Signed-off-by: James Almer <jamrial@gmail.com>
2026-04-20 19:37:30 +08:00
Paul B Mahol 8ceee88ef2 avfilter/avf_avectorscope: fix mistake in previous commit
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2026-04-20 19:37:30 +08:00
Paul B Mahol 979a9107c9 avfilter/avf_avectorscope: add possibility to auto zoom
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2026-04-20 19:37:30 +08:00
Paul B Mahol c6e45b57e3 avfilter: add despill filter
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2026-04-20 19:37:30 +08:00
Paul B Mahol 7a9ac492f3 avfilter/vf_fftfilt: make it possible to evaluate expressions per frame
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2026-04-20 19:37:30 +08:00
Paul B Mahol 4c6decf09c avfilter/vf_fftfilt: add generic timeline support
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2026-04-20 19:37:30 +08:00
Paul B Mahol 6eb5b60673 avfilter/vf_fftfilt: add support for more pixel formats
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2026-04-20 19:37:30 +08:00
Paul B Mahol 51608175c2 avfilter/vf_fftfilt: cache rdft contexts
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2026-04-20 19:37:30 +08:00
openvela-robot 56294c9719 avfilter/vf_datascope: make it possible for output window to automatically change position
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2026-04-20 19:37:29 +08:00
openvela-robot c727fd9de4 flvdec: Check the avio_seek return value after reading a metadata packet
If the metadata packet is corrupted, flv_read_metabody can accidentally
read past the start of the next packet. If the start of the next packet
had been flushed out of the IO buffer, we would be unable to seek to
the right position (on a nonseekable stream).

Prefer to clearly error out instead of silently trying to read from a
desynced stream which will only be interpreted as garbage.

Signed-off-by: Martin Storsjö <martin@martin.st>
2026-04-20 19:37:26 +08:00
Paul B Mahol 6d0d098873 avfilter/vf_datascope: add timeline support to pixscope and oscilloscope
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2026-04-20 19:37:24 +08:00
Paul B Mahol 29ee0049dd avfilter/vf_displace: add mirror edge mode
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2026-04-20 19:37:23 +08:00
Paul B Mahol 313d0ce160 avfilter/vf_displace: remove useless requirement that SAR matches between input streams
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2026-04-20 19:37:23 +08:00
Paul B Mahol ebd48e60a8 avfilter/vf_subtitles: enable processing of alpha channel
Fixes #6605.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
2026-04-20 19:37:23 +08:00
openvela-robot 3111366040 avcodec/diracdec: Fix integer overflow in INTRA_DC_PRED()
Fixes: runtime error: signed integer overflow: 1168175789 + 1168178473 cannot be represented in type 'int'
Fixes: 3081/clusterfuzz-testcase-minimized-4807564879462400
Fixes: 2844/clusterfuzz-testcase-minimized-5561715838156800

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2026-04-20 19:37:22 +08:00
openvela-robot 64a2fcfaa9 Revert "checkasm: Test more h264 idct variants"
This reverts commit 547db1eaec.

This commit wasn't supposed to be pushed (yet) since it hasn't
been reviewed.

Signed-off-by: Martin Storsjö <martin@martin.st>
2026-04-20 19:37:20 +08:00
James Almer 47f21114a4 avfilter: remove duplicate and disabled trace log function
It's already defined and actually enabled depending on compiler options
elsewhere.

Signed-off-by: James Almer <jamrial@gmail.com>
2026-04-20 19:37:16 +08:00
openvela-robot 17e8e04310 avcodec/fits: add missing header includes
Fixes checkheaders.

Signed-off-by: James Almer <jamrial@gmail.com>
2026-04-20 19:37:14 +08:00
openvela-robot c83c6794f5 msvc: Properly specify dllexport for data symbols shared across dll boundaries
We currently only have exported data symbols within libavcodec, but
the concept is easy to extend to other libraries if necessary.
The attribute declaration needs to be in a private header though,
since we can't use CONFIG_SHARED in public installed headers.

Signed-off-by: Martin Storsjö <martin@martin.st>
2026-04-20 19:37:11 +08:00
James Almer 8e65295e6d avfilter/vf_mcdeint: remove usage of deprecated AVCodecContext.me_method
Signed-off-by: James Almer <jamrial@gmail.com>
2026-04-20 19:37:08 +08:00
Paul B Mahol 2f6b181811 avfilter/af_adelay: remove requirement that at least one delay should be provided
Such requirement is not necessary and code works without it just fine.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
2026-04-20 19:37:08 +08:00
James Almer 3135f1b8e5 avfilter/vf_mcdeint: free the AVCodecContext struct properly
Signed-off-by: James Almer <jamrial@gmail.com>
2026-04-20 19:37:08 +08:00
openvela-robot c5ed9f1ee5 avfilter/vf_libvmaf: fix pre convert to framesync2 bugs
Hi, it fixes the errors while converting to framesync2.
libvmaf was changed recently, double *score variable is removed in the new
version since it's not used anywhere. This patch fixes all the warnings and
segmentation faults.

Signed-off-by: Ashish Singh <ashk43712@gmail.com>
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2026-04-20 19:37:07 +08:00
openvela-robot 51c82b2c0e lavf: make avio_read_partial() public
Main use-case is proxying avio through a foreign I/O layer and a custom
AVIO context, without losing latency and performance characteristics.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2026-04-20 19:37:05 +08:00
Paul B Mahol 2e259014a2 avfilter/vf_lut2: add framesync options
Also stop leaking memory.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
2026-04-20 19:37:02 +08:00
Nicolas George df68f22d81 lavfi: bump minor version after change in options. 2026-04-20 19:37:01 +08:00
Nicolas George e7ed37e5a8 lavfi: remove dualinput. 2026-04-20 19:37:01 +08:00
Nicolas George 67e9a5d40d vf_ssim: convert to framesync2. 2026-04-20 19:37:01 +08:00
Nicolas George 472f839bc1 lavfi/vf_psnr: convert to framesync2. 2026-04-20 19:37:01 +08:00
Nicolas George a4750ae5b6 lavfi/vf_paletteuse: convert to framesync2. 2026-04-20 19:37:01 +08:00