Commit Graph

4875 Commits

Author SHA1 Message Date
openvela-robot db600b2cf7 vf_format: rework format list parsing
Avoid using AV_PIX_FMT_NB, since that hardcodes the number of pixel
formats into lavfi and will break when a shared lavu is updated, adding
new pixel formats.
2026-04-20 15:54:29 +08:00
openvela-robot cb5ffdb3d5 avcodec/webvttenc: do not use EOVERFLOW.
According to doc/errno.txt EOVERFLOW is not available everywhere. The
use of -1 is consistent with avcodec/srtenc.c.
2026-04-20 15:54:23 +08:00
openvela-robot c91f6dae48 imgutils: make systematic palette opaque.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2026-04-20 15:54:21 +08:00
Billy Shambrook 2a72682891 Add metadata injection to blackdetect
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2026-04-20 15:54:17 +08:00
openvela-robot 61f38a5315 Merge commit '6b7b8585d73548f08b98959df39d80b97677662f'
* commit '6b7b8585d73548f08b98959df39d80b97677662f':
  dca: Convert dca_dmixtable to integers

Conflicts:
	libavcodec/dcadec.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
2026-04-20 15:54:13 +08:00
openvela-robot cb3e54d5ce avcodec: bump version after rotation api
Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
2026-04-20 15:54:11 +08:00
openvela-robot e20a94ec05 avcodec: remove no longer needed ff_codec_close_recursive()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2026-04-20 15:54:02 +08:00
openvela-robot b4a0ada59e check: add libavcodec/vda_internal.h to SKIPHEADERS-$(CONFIG_VDA) 2026-04-20 15:54:00 +08:00
Lukasz Marek cf9dad1f3d lavfi/vf_fps: use av_fifo_alloc_array
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
2026-04-20 15:53:56 +08:00
Lukasz Marek f2b01215ec lavfi/buffersink: use av_fifo_alloc_array
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
2026-04-20 15:53:56 +08:00
openvela-robot ba94b680bf Merge commit 'ed7922faac4ea4c893efc3cdf8102ebc49fcc011'
* commit 'ed7922faac4ea4c893efc3cdf8102ebc49fcc011':
  mux: drop one of the hacks comprising compute_pkt_fields2()

Conflicts:
	libavformat/mux.c

Not merged as -async drop / -vsync drop depends on this code

Merged-by: Michael Niedermayer <michaelni@gmx.at>
2026-04-20 15:53:49 +08:00
openvela-robot ca50a9d6d7 display: Include mathematics.h for fallback definition of NAN
This fixes compilation with MSVC.

Signed-off-by: Martin Storsjö <martin@martin.st>
2026-04-20 15:53:47 +08:00
openvela-robot 38726e89b6 Merge commit '04db5794cd97e4b33ec2f963ef7f967722a456eb'
* commit '04db5794cd97e4b33ec2f963ef7f967722a456eb':
  hevc: templatize pred_planar

Conflicts:
	libavcodec/hevcpred_template.c

See: 053fdacde7
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2026-04-20 15:53:39 +08:00
openvela-robot 1af0f28047 hevc: templatize pred_planar
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2026-04-20 15:53:33 +08:00
openvela-robot fa6d0d705d Merge commit '33082af7560a18179b52734665ef66f812902d33'
* commit '33082af7560a18179b52734665ef66f812902d33':
  doc/APIchanges: fill in missing hashes and dates

Conflicts:
	doc/APIchanges

Merged-by: Michael Niedermayer <michaelni@gmx.at>
2026-04-20 15:53:16 +08:00
openvela-robot 46f8d1ac7a wavenc: use codec descriptors to get the codec name
Also, return a proper error code.
2026-04-20 15:53:14 +08:00
openvela-robot 7922997d82 Merge commit 'e1b66778b6ee82a192b5895e23c4e135f7269326'
* commit 'e1b66778b6ee82a192b5895e23c4e135f7269326':
  lavc: remove the locking code in avcodec_close()

Conflicts:
	libavcodec/utils.c

Note, if someone knows of a external codec lib/API, hwaccel or other that requires
locking on its close/free side, please contact ffmpeg-devel.

Merged-by: Michael Niedermayer <michaelni@gmx.at>
2026-04-20 15:53:00 +08:00
openvela-robot d21777d8dc lavc: remove the locking code in avcodec_close()
This function should not modify any global state, so there should be no
reason for any locking.
2026-04-20 15:52:57 +08:00
Clément Bœsch 4f6e77e8a4 avfilter/edgedetect: reuse already defined ctx. 2026-04-20 15:52:52 +08:00
openvela-robot 7c42b0862a avcodec/x86/hevc: added DBF assembly functions
Reviewed-by: James Almer <jamrial@gmail.com>
Reviewed-by: Ronald S. Bultje
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2026-04-20 15:52:46 +08:00
openvela-robot 8756ea52d1 avisynth: set duration of audio streams
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2026-04-20 15:52:43 +08:00
Clément Bœsch f0ab633537 avfilter/vignette: reindent after previous commit. 2026-04-20 15:52:41 +08:00
Clément Bœsch 7f3924884b avfilter/vignette: add direct rendering. 2026-04-20 15:52:41 +08:00
Clément Bœsch 37758fa93f vignette: reuse already declared ctx. 2026-04-20 15:52:41 +08:00
Masa Utashiro 2949ce89a5 avfilter/vignette: fix input frame memory leak.
Fixes Ticket #3642.
2026-04-20 15:52:41 +08:00
openvela-robot 1e32b5c312 Merge commit 'b70d7a4ac72d23f3448f3b08b770fdf5f57de222'
* commit 'b70d7a4ac72d23f3448f3b08b770fdf5f57de222':
  lavc: add a native Opus decoder.

Conflicts:
	Changelog
	configure
	libavcodec/version.h

Fate tests pass with both avresample as well as swresample based opus decoder, but
are disabled (reference files are very large so i want to think a day or 2 about
if theres an alternative or if they could be avoided, they also dont match the
official samples)

Merged-by: Michael Niedermayer <michaelni@gmx.at>
2026-04-20 15:52:32 +08:00
openvela-robot bd49d90df0 lavc: add a native Opus decoder.
Initial implementation by Andrew D'Addesio <modchipv12@gmail.com> during
GSoC 2012.

Completion by Anton Khirnov <anton@khirnov.net>, sponsored by the
Mozilla Corporation.

Further contributions by:
Christophe Gisquet <christophe.gisquet@gmail.com>
Janne Grunau <janne-libav@jannau.net>
Luca Barbato <lu_zero@gentoo.org>
2026-04-20 15:52:29 +08:00
Michael Niedermayer db660ed389 avfilter/vsrc_mandelbrot: use av_malloc_array()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2026-04-20 15:52:27 +08:00
openvela-robot f49ed8bd69 Merge commit 'a738540366c9b114949b7914c0d08e2c28982cfb'
* commit 'a738540366c9b114949b7914c0d08e2c28982cfb':
  lavf: properly document the distinction between flags and ctx_flags

Merged-by: Michael Niedermayer <michaelni@gmx.at>
2026-04-20 15:52:25 +08:00
openvela-robot 68abbda1d7 build: do not append $(FFLIBS-) to $(FFLIBS) if $(NAME) is not defined
Avoids including disabled library Makefiles.
2026-04-20 15:52:23 +08:00
Clément Bœsch d0a6ba157a avfilter/lut3d: move the scale calc out of the inner loop. 2026-04-20 15:52:22 +08:00
Michael Niedermayer 9dd448ead7 avfilter/vf_removelogo: use av_malloc_array()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2026-04-20 15:52:21 +08:00
Michael Niedermayer b80ba6a70c avfilter/vf_hqdn3: use av_malloc_array()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2026-04-20 15:52:21 +08:00
Clément Bœsch 9cac6afa83 build: move ebur128 swr dep to configure. 2026-04-20 15:52:21 +08:00
openvela-robot ffe5803a27 Merge commit '449511740f06a4675b0066730fa45cdb764ffafc'
* commit '449511740f06a4675b0066730fa45cdb764ffafc':
  build: handle library dependencies in configure

Conflicts:
	common.mak
	configure
	libavdevice/Makefile
	libavfilter/Makefile

Merged-by: Michael Niedermayer <michaelni@gmx.at>
2026-04-20 15:52:21 +08:00
openvela-robot f8ddfa5002 Merge commit '9aa4592076d4dbb29d1198b0e258f9f85c0c00b5'
* commit '9aa4592076d4dbb29d1198b0e258f9f85c0c00b5':
  aarch64: assembler in clang-3.4 ignores the division by two

Merged-by: Michael Niedermayer <michaelni@gmx.at>
2026-04-20 15:52:17 +08:00
openvela-robot 4df930445f build: handle library dependencies in configure
Instead of setting FFLIBS in each library Makefile configure
exports FFLIBS-$library in config.mak.
2026-04-20 15:52:05 +08:00
Michael Niedermayer 4523e16e15 avfilter/buffer: Use av_malloc_array()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2026-04-20 15:52:02 +08:00
Michael Niedermayer 74425dfa7c avcodec/buffersrc: use av_mallocz_array()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2026-04-20 15:52:02 +08:00
openvela-robot dfecdb533b avcodec/cinepakenc: use av_malloc_array()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2026-04-20 15:51:51 +08:00
openvela-robot 9a0eb92579 lavc: Add an internal wrapper around get_format()
It will be useful in the following commits.
2026-04-20 15:51:48 +08:00
michael 942399f99a libmpcodecs/vf_uspp: check avcodec_open() return code
Fixes CID1135747

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2026-04-20 15:51:46 +08:00
Michael Niedermayer 5fc21279b4 avfilter/vf_removelogo: fix memleak on failure
Fixes CID751770

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2026-04-20 15:51:45 +08:00
Michael Niedermayer 645cc330a0 avfilter/vf_lut3d: check size in parse_dat()
Fixes CID1212261
Reviewed-by: Clément Bœsch <u@pkh.me>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2026-04-20 15:51:45 +08:00
Matt Oliver 93d4602e50 libmpcodecs: Fix compilation due to missing static in suncc.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2026-04-20 15:51:45 +08:00
openvela-robot 2e8a19b8d0 Merge commit '9880a0d4b131ef36694d62f78060350a81f08b80'
* commit '9880a0d4b131ef36694d62f78060350a81f08b80':
  pcm-dvd: Fix 20bit decoding

See: 5db49fc38d
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2026-04-20 15:51:44 +08:00
openvela-robot d48b773c3a pcm-dvd: Fix 20bit decoding
Increment the pointer as needed.

Bug-Id: 592

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2026-04-20 15:51:42 +08:00
Clément Bœsch 5ab1e9606f avfilter/phase: make the main loop readable. 2026-04-20 15:51:40 +08:00
Clément Bœsch 1439d2eef7 avfilter/phase: add some constness for RO data pointers. 2026-04-20 15:51:40 +08:00
Clément Bœsch ab74e65689 avfilter/phase: add timeline support. 2026-04-20 15:51:40 +08:00