Commit Graph

4050 Commits

Author SHA1 Message Date
Steve Lhomme 2134af91b7 lavu: add support for Content Light Level side metadata
As found in HEVC.

Signed-off-by: James Almer <jamrial@gmail.com>
2026-04-20 19:22:13 +08:00
openvela-robot a917b0c818 ffmpeg: make transcode_init_done atomic.
Should fix tsan warnings in fate-fifo-muxer-h264/wav:

WARNING: ThreadSanitizer: data race (pid=26552)
  Write of size 4 at 0x000001e0d7c0 by main thread:
    #0 transcode_init src/ffmpeg.c:3761 (ffmpeg+0x00000050ca1c)
[..]
  Previous read of size 4 at 0x000001e0d7c0 by thread T1:
    #0 decode_interrupt_cb src/ffmpeg.c:460 (ffmpeg+0x0000004fde19)
2026-04-20 19:21:14 +08:00
openvela-robot 42860e1e34 mov: Move code shared with CAF to a separate file 2026-04-20 19:21:11 +08:00
openvela-robot 3f0c389478 build: Add missing object dependency for extract_extradata bitstream filter
Cherry-picked from libav commit cfee5e1a0f

Signed-off-by: James Almer <jamrial@gmail.com>
2026-04-20 19:21:08 +08:00
openvela-robot 611dd3323a vp9: Add bsf to fix reordering in raw streams
Takes a raw input stream containing frames with correct timestamps but
possibly out of order and inserts additional show-existing-frame
packets to correct the ordering.
2026-04-20 19:21:05 +08:00
openvela-robot 6d1cf434b6 Bump minor for 3.3
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2026-04-20 19:21:02 +08:00
openvela-robot 41355d04db pthread_frame: Propagate sw_pix_fmt across threads 2026-04-20 19:20:59 +08:00
openvela-robot 694825af65 Merge commit 'fe7bc1f16abaefe66d8a20f734ca3eb8a4ce4d43'
* commit 'fe7bc1f16abaefe66d8a20f734ca3eb8a4ce4d43':
  configure: Do not unconditionally check for (and enable) xlib

Merged-by: James Almer <jamrial@gmail.com>
2026-04-20 19:19:42 +08:00
openvela-robot 8708c05210 takdec: Use ISO C printf conversion specifiers where appropriate
libavformat/takdec.c:144:20: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'uint32_t'
2026-04-20 19:19:39 +08:00
James Almer 854e4d233f avutil/spherical: add av_spherical_projection_name()
Reviewed-by: Benoit Fouet <benoit.fouet@free.fr>
Reviewed-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
2026-04-20 19:19:37 +08:00
Michael Niedermayer 9d763bfff3 doc/APIchanges: Update 2026-04-20 19:19:36 +08:00
openvela-robot f214de33b5 Merge commit 'd06aa24ba583ad08025da9e1b29afcd8218ff9b0'
* commit 'd06aa24ba583ad08025da9e1b29afcd8218ff9b0':
  hwcontext: Hardware frame mapping

Merged-by: Clément Bœsch <cboesch@gopro.com>
2026-04-20 19:19:00 +08:00
openvela-robot 176643688e Merge commit '7433feb82f75827884d909de34d341a1c4401d4a'
* commit '7433feb82f75827884d909de34d341a1c4401d4a':
  lavfi: Make default get_video_buffer work with hardware frames

Merged-by: Matthieu Bouron <matthieu.bouron@gmail.com>
2026-04-20 19:18:45 +08:00
openvela-robot 86a5435c0c dcadec: remove extra indirection
num_core_channels is always equal to s->audio_header.prim_channels,
neither one of those variables ever get changed.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2026-04-20 19:18:42 +08:00
Clément Bœsch a6855c5091 lavu: add av_fourcc_make_string() and av_fourcc2str() 2026-04-20 19:18:36 +08:00
openvela-robot 52703294f0 pthread_frame: minor simplification to error handling
Get rid of the "ret" variable, and always use err. Report the packet as
consumed if err is unset. This should be equivalent to the old code,
which obviously required err=0 for p->result>=0 (and otherwise,
p->result must have had the value err was last set to). The code block
added by commit 32a5b63126 is also not needed anymore, because the new
code strictly returns err if it's >=0.

Reviewed-by: "Ronald S. Bultje" <rsbultje@gmail.com>
2026-04-20 19:18:21 +08:00
openvela-robot c52b990551 hevcdec: Use LOCAL_ALIGNED_* for declaring local variables with alignment
Not all compilers can do alignment larger than the normal stack alignment
for variables on the stack. In these cases, the LOCAL_ALIGNED_* macros
produce the workaround alignment wrapper consisting of a padded array
and a pointer variable.

This fixes the hevc fate tests on RVCT/ARMCC after adding IDCT assembly
that actually assumes/relies on this alignment.

Signed-off-by: Martin Storsjö <martin@martin.st>
2026-04-20 19:18:18 +08:00
openvela-robot 80f7e78d19 doc/examples/filtering_*: switch to codecpar 2026-04-20 19:18:13 +08:00
openvela-robot 1d997dddc0 jack: Drop support for old (2012) JACK versions 2026-04-20 19:17:59 +08:00
openvela-robot 59f3e047ea Merge commit 'b90c8a3d08e3f9ad4de1253376d2d1d93abb8b8c'
* commit 'b90c8a3d08e3f9ad4de1253376d2d1d93abb8b8c':
  fate: Add tests for mov display matrix

Adapted to use ffprobe -show_entries

Merged-by: James Almer <jamrial@gmail.com>
2026-04-20 19:17:54 +08:00
openvela-robot ba7919128a hwcontext: Move NONE to the be the first member of AVHWDeviceType
Also use that to fix a warning in av_hwdevice_get_type_name().
2026-04-20 19:17:51 +08:00
openvela-robot 630332e347 Merge commit 'c454dfcff90f0ed39c7b0d4e85664986a8b4476c'
* commit 'c454dfcff90f0ed39c7b0d4e85664986a8b4476c':
  Use ISO C printf conversion specifiers where appropriate

This commit is a noop, an equivalent patch is currently under review on
the mailing-list: http://ffmpeg.org/pipermail/ffmpeg-devel/2017-March/209239.html

Merged-by: Clément Bœsch <u@pkh.me>
2026-04-20 19:17:39 +08:00
openvela-robot 124bd8266b hevc: Add NEON 4x4 and 8x8 IDCT
Optimized by Martin Storsjö <martin@martin.st>.

The speedup vs C code is around 3.2-4.4x.

Signed-off-by: Martin Storsjö <martin@martin.st>
2026-04-20 19:17:36 +08:00
wm4 99483c7c04 avformat, ffmpeg: deprecate old rotation API
The old "API" that signaled rotation as a metadata value has been
replaced by DISPLAYMATRIX side data quite a while ago.

There is no reason to make muxers/demuxers/API users support both. In
addition, the metadata API is dangerous, as user tags could "leak" into
it, creating unintended features or bugs.

ffmpeg CLI has to be updated to use the new API. In particular, we must
not allow to leak the "rotate" tag into the muxer. Some muxers will
catch this properly (like mov), but others (like mkv) can add it as
generic tag. Note applications, which use libavformat and assume the
old rotate API, will interpret such "rotate" user tags as rotate
metadata (which it is not), and incorrectly rotate the video.

The ffmpeg/ffplay tools drop the use of the old API for muxing and
demuxing, as all muxers/demuxers support the new API. This will mean
that the tools will not mistakenly interpret per-track "rotate" user
tags as rotate metadata. It will _not_ be treated as regression.

Unfortunately, hacks have been added, that allow the user to override
rotation by setting metadata explicitly, e.g. via

  -metadata:s:v:0 rotate=0

See references to trac #4560. fate-filter-meta-4560-rotate0 tests this.
It's easier to adjust the hack for supporting it than arguing for its
removal, so ffmpeg CLI now explicitly catches this case, and essentially
replaces the "rotate" value with a display matrix side data. (It would
be easier for both user and implementation to create an explicit option
for rotation.)

When the code under FF_API_OLD_ROTATE_API is disabled, one FATE
reference file has to be updated (because "rotate" is not exported
anymore).

Tested-by: Michael Niedermayer <michael@niedermayer.cc>
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
2026-04-20 19:17:32 +08:00
openvela-robot 2c1d74ff88 avcodec/x86/idctdsp: Remove duplicate include
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2026-04-20 19:17:31 +08:00
openvela-robot 394fdfe5e0 nsvdec: don't ignore the return value of av_get_packet()
Fixes invalid reads with corrupted files.

CC: libav-stable@libav.org
Bug-Id: 1039
2026-04-20 19:17:29 +08:00
openvela-robot 1f12a8f3e6 fate: mask errors while constructing report files
The first case was forgotten in 89790ba2bf.

Note: build_only=yes is one of the case where hiding the errors makes
sense.
2026-04-20 19:17:25 +08:00
openvela-robot 006e67b07a configure: Skip check for inline assembly capabilities when explicitly disabled
Otherwise inline assembly may get enabled when disabled on the command line.
2026-04-20 19:17:22 +08:00
openvela-robot 3707a76a2f avcodec/tiff: Check geotag count for being non zero
Fixes memleak
Fixes: 874/clusterfuzz-testcase-5252796175613952

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2026-04-20 19:16:02 +08:00
Vittorio Giovara ed4c941c05 APIchanges: Update bump dates 2026-04-20 19:16:00 +08:00
openvela-robot b01540eb9d avplay: Use the named syntax for buffersrc arguments
Avoid confusion.
2026-04-20 19:15:59 +08:00
openvela-robot 405c00ba6e Merge commit '5cc0057f4910c8c72421b812c8f337ef6c43696c'
* commit '5cc0057f4910c8c72421b812c8f337ef6c43696c':
  lavu: remove the custom atomic API

This commit is a noop. The removal is postponed until all usages in
FFmpeg are dropped as well. A patchset is on discussion on the
mailing-list:
http://ffmpeg.org/pipermail/ffmpeg-devel/2017-March/209003.html

Merged-by: Clément Bœsch <u@pkh.me>
2026-04-20 19:15:36 +08:00
openvela-robot d5fd2361ca Bump major versions of all libraries
This disables everything that was deprecated at least 18 months ago.

Readjust the minimum API version as needed, postponing any
API-incompatible changes until the next bump.

Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2026-04-20 19:15:31 +08:00
wm4 c613a8d975 lavc: vdpau: Add support for new hw_frames_ctx and hw_device_ctx API
This supports retrieving the device from a provided hw_frames_ctx, and
automatically creating a hw_frames_ctx if hw_device_ctx is set.

The old API is not deprecated yet. The user can still use
av_vdpau_bind_context() (with or without setting hw_frames_ctx), or use
the API before that by allocating and setting hwaccel_context manually.

Cherry-picked from Libav commit 1a7ddba5.
(Adds missing APIchanges entry to the Libav version.)

Reviewed-by: Mark Thompson <sw@jkqxz.net>
2026-04-20 19:15:29 +08:00
wm4 65f3350a5e lavc: Add hwaccel_flags field to AVCodecContext
This "reuses" the flags introduced for the av_vdpau_bind_context() API
function, and makes them available to all hwaccels. This does not affect
the current vdpau API, as av_vdpau_bind_context() should obviously
override the AVCodecContext.hwaccel_flags flags for the sake of
compatibility.

Cherry-picked from Libav commit 16a163b5.

Reviewed-by: Mark Thompson <sw@jkqxz.net>
2026-04-20 19:15:28 +08:00
openvela-robot 71bfdd19ba fate: update ref file for apng-clock test 2026-04-20 19:15:12 +08:00
openvela-robot 5c9d437753 libavutil: Hook up the rest of the gcc specific attributes to clang as well
Hook up all attributes that don't have a MSVC specific version at the
moment.

See f637046d31 for details.

These don't seem to be critical for building with clang in MSVC mode
though, and thus haven't been hooked up until now.

These seem to build fine with as old clang as 3.3 at least.
(clang 3.3 disguises itself as gcc 4.2 normally, so all of these
have been used for clang before, except for av_cold.)

The clang version numbers themselves are useless for detecting what
attributes are available, since Apple's clang builds use a completely
different versioning (presenting itself as e.g. clang 8.0 instead
of 3.8).

Signed-off-by: Martin Storsjö <martin@martin.st>
2026-04-20 19:15:09 +08:00
openvela-robot 1d18d2093b Merge commit '8ea35af7620e4f73f9e8c072e1c0fac9a04ec161'
* commit '8ea35af7620e4f73f9e8c072e1c0fac9a04ec161':
  avio: add a new flag for marking streams seekable by timestamp

Merged-by: James Almer <jamrial@gmail.com>
2026-04-20 19:15:02 +08:00
openvela-robot dfff387961 Merge commit 'e87a501e7d03ac68b58520108fe24ad9d0b36765'
* commit 'e87a501e7d03ac68b58520108fe24ad9d0b36765':
  swscale: Update bitdepth range check

This commit is a noop.

Up to 14 bits is supported since fa36f33422. This commits pushes the
limit to 15 bits but we don't seem to have pixel formats that enters in
that category.

12:03 <ubitux> so what's your opinion? should we move to 15 even if unused currently to make it consistent with libav and the function names, or keep our 14 suggesting there might be an issue with 15?
12:05 <ubitux> (functions are called hScale8To15_c, hScale16To15_c, ff_hscale8to15, ...)
12:06 <michaelni> I prefer to keep 14 until theres a case that allows us to test this and i suspect it will not work with 15 at least not all the code

Merged-by: Clément Bœsch <u@pkh.me>
2026-04-20 19:14:25 +08:00
openvela-robot 5ed9d31362 nvenc: Allow different const qps for I, P and B frames
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2026-04-20 19:14:22 +08:00
openvela-robot 59b4b5bf4b avcodec, avformat: deprecate anything related to side data merging
This patch deprecates anything that has to do with merging/splitting
side data. Automatic side data merging (and splitting), as well as all
API symbols involved in it, are removed completely.

Two FF_API_ defines are dedicated to deprecating API symbols related to
this: FF_API_MERGE_SD_API removes av_packet_split/merge_side_data in
libavcodec, and FF_API_LAVF_KEEPSIDE_FLAG deprecates
AVFMT_FLAG_KEEP_SIDE_DATA in libavformat.

Since it was claimed that changing the default from merging side data to
not doing it is an ABI change, there are two additional FF_API_ defines,
which stop using the side data merging/splitting by default (and remove
any code in avformat/avcodec doing this): FF_API_MERGE_SD in libavcodec,
and FF_API_LAVF_MERGE_SD in libavformat.

It is very much intended that FF_API_MERGE_SD and FF_API_LAVF_MERGE_SD
are quickly defined to 0 in the next ABI bump, while the API symbols are
retained for a longer time for the sake of compatibility.
AVFMT_FLAG_KEEP_SIDE_DATA will (very much intentionally) do nothing for
most of the time it will still be defined. Keep in mind that no code
exists that actually tries to unset this flag for any reason, nor does
such code need to exist. Code setting this flag explicitly will work as
before. Thus it's ok for AVFMT_FLAG_KEEP_SIDE_DATA to do nothing once
side data merging has been removed from libavformat.

In order to avoid that anyone in the future does this incorrectly, here
is a small guide how to update the internal code on bumps:

- next ABI bump (probably soon):
  - define FF_API_LAVF_MERGE_SD to 0, and remove all code covered by it
  - define FF_API_MERGE_SD to 0, and remove all code covered by it
- next API bump (typically two years in the future or so):
  - define FF_API_LAVF_KEEPSIDE_FLAG to 0, and remove all code covered
    by it
  - define FF_API_MERGE_SD_API to 0, and remove all code covered by it

This forces anyone who actually wants packet side data to temporarily
use deprecated API to get it all. If you ask me, this is batshit fucked
up crazy, but it's how we roll. Making AVFMT_FLAG_KEEP_SIDE_DATA to be
set by default was rejected as an ABI change, so I'm going all the way
to get rid of this once and for all.

Reviewed-by: James Almer <jamrial@gmail.com>
Reviewed-by: Rostislav Pehlivanov <atomnuker@gmail.com>
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
2026-04-20 19:14:17 +08:00
wm4 fb410c5e73 lavc: Add hwaccel_flags field to AVCodecContext
This "reuses" the flags introduced for the av_vdpau_bind_context() API
function, and makes them available to all hwaccels. This does not affect
the current vdpau API, as av_vdpau_bind_context() should obviously
override the AVCodecContext.hwaccel_flags flags for the sake of
compatibility.
2026-04-20 19:14:15 +08:00
Mark Thompson 3f6808ffc1 hwcontext: Make it easier to work with device types
Adds functions to convert to/from strings and a function to iterate
over all supported device types.  Also adds a new invalid type
AV_HWDEVICE_TYPE_NONE, which acts as a sentinel value.
2026-04-20 19:14:15 +08:00
openvela-robot 9ac52d3b26 hwcontext: Add device derivation
Creates a new device context from another of a different type which
refers to the same underlying hardware.
2026-04-20 19:14:14 +08:00
openvela-robot e0b8cee60d avcodec/vp9: avx2 implementation of ipred_dl_16x16_16
vp9_diag_downleft_16x16_10bpp_c: 263.0
vp9_diag_downleft_16x16_10bpp_sse2: 44.7
vp9_diag_downleft_16x16_10bpp_ssse3: 32.5
vp9_diag_downleft_16x16_10bpp_avx: 31.9
vp9_diag_downleft_16x16_10bpp_avx2: 25.7
vp9_diag_downleft_16x16_12bpp_c: 264.7
vp9_diag_downleft_16x16_12bpp_sse2: 44.4
vp9_diag_downleft_16x16_12bpp_ssse3: 32.0
vp9_diag_downleft_16x16_12bpp_avx: 32.4
vp9_diag_downleft_16x16_12bpp_avx2: 25.5

Benchmarked with 10000 runs

Signed-off-by: Ilia <zakne0ne@gmail.com>
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2026-04-20 19:13:46 +08:00
openvela-robot cb962d440b build: Add missing object dependency for extract_extradata bitstream filter 2026-04-20 19:13:43 +08:00
openvela-robot e8e45548f8 Merge commit 'd7bc52bf456deba0f32d9fe5c288ec441f1ebef5'
* commit 'd7bc52bf456deba0f32d9fe5c288ec441f1ebef5':
  imgutils: add a function for copying image data from GPU mapped memory

Merged-by: Clément Bœsch <u@pkh.me>
2026-04-20 19:13:21 +08:00
Clément Bœsch c829fe0e31 doc/APIchanges: fill date & hash for AV_PIX_FMT_FLAG_BAYER 2026-04-20 19:13:14 +08:00
Clément Bœsch 6515f8c540 lavu: add AV_PIX_FMT_FLAG_BAYER 2026-04-20 19:13:11 +08:00
Rostislav Pehlivanov 77bc3fb90e lavfi: deprecate AVFilterGraph->resample_lavr_opts
Not used by anything at all since we don't auto insert lavr filters.

Reviewed-by: wm4 <nfxjfg@googlemail.com>
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
2026-04-20 19:11:59 +08:00
openvela-robot e9e6db3dbd Merge commit '5ebef79abecc3ffcc4ab0d46e203d13b068107c9'
* commit '5ebef79abecc3ffcc4ab0d46e203d13b068107c9':
  Fix instances of broken indentation found by gcc 6

Noop, see 21d3f0c02, 6089c44a2

Merged-by: Clément Bœsch <u@pkh.me>
2026-04-20 19:11:35 +08:00
openvela-robot f2b536f75e matroskaenc: add support for Spherical Video elements
Signed-off-by: James Almer <jamrial@gmail.com>
Minor cosmetic changes by committer.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2026-04-20 19:11:33 +08:00
openvela-robot b3107ede45 Merge commit 'ae90119c6701fa09ff747cca35238e36b2d2ab2f'
* commit 'ae90119c6701fa09ff747cca35238e36b2d2ab2f':
  configure: Simplify license incompatibility check

An extra GPLV3 list is added for libsmbclient as having it in both GPL
and VERSION3 lists would cause a duplicate in the final config list.

Also, for consistency, libnpp is treated the same as the other nonfree
component (libfdk_aac and openssl).

Merged-by: Clément Bœsch <u@pkh.me>
2026-04-20 19:11:22 +08:00
openvela-robot f3f06f48e9 configure: Replace -no_weak_symbols with -Werror=partial-availability
Jack uses weak symbols on purpose.
2026-04-20 19:11:19 +08:00
openvela-robot 44eea8239d doc/filters: Add colourspace values for colormatrix filter
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Kieran Kunhya <kierank@obe.tv>
2026-04-20 19:10:58 +08:00
openvela-robot ed5318df6a x86: fft: Port to cpuflags 2026-04-20 19:10:55 +08:00
openvela-robot 326d7483eb swresample/swresample: do not reset tsf on swr_alloc_set_opts
so tsf option in aresample will have effect
previously tsf/internal_sample_format had no effect

fate is updated
s32p previously used fltp internally
dblp previously used fltp/dblp internally

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
2026-04-20 19:10:50 +08:00
openvela-robot 0403a6561c h2645_parse: use the bytestream2 API for packet splitting
The code does some nontrivial jumping around in the buffer, so it is
safer to use a checked API rather than do everything manually.

Fixes a bug in nalff parsing, where the length field is currently not
counted in the buffer size check, resulting in possible overreads with
invalid files.

CC: libav-stable@libav.org
Bug-Id: 1002
Found-By: Kamil Frankowicz
2026-04-20 19:10:48 +08:00
openvela-robot 852b6320fb avcodec/cuvid: add support for cropping/resizing
Overhauled version, original patch by Miroslav Slugeň <thunder.m@email.cz>.
2026-04-20 19:10:27 +08:00
openvela-robot ca2e12c3e0 Add Cineform HD Decoder
Decodes YUV 4:2:2 10-bit and RGB 12-bit files.
Older files with more subbands, skips, Bayer, alpha not supported.

Further fixes and refactorings by Anton Khirnov <anton@khirnov.net>,
Diego Biurrun <diego@biurrun.de>, Vittorio Giovara <vittorio.giovara@gmail.com>

Signed-off-by: Diego Biurrun <diego@biurrun.de>
2026-04-20 19:10:25 +08:00
openvela-robot f751d0e990 avcodec: clarify some decoding/encoding API details
Make it clear that there is no timing-dependent behavior. In particular,
there is no state in which both input and output are denied, and where
you have to wait for a while yourself to make progress (apparently some
hardware decoders like to do this).

Avoid wording that makes references to time. It shouldn't be mistaken
for some kind of asynchronous API (like POSIX read() can return EAGAIN
if there is no new input yet). It's a state machine, so try to use
appropriate terms.

Signed-off-by: Diego Biurrun <diego@biurrun.de>

Merges Libav commit 8a60bba0ae.
2026-04-20 19:10:21 +08:00
openvela-robot 360b97f335 add initial QP value options
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2026-04-20 19:10:19 +08:00
openvela-robot 0b21d78fb1 spherical: Add tiled equirectangular type and projection-specific properties
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2026-04-20 19:10:14 +08:00
openvela-robot 78c5911053 mov: Ignore old spherical metadata when newer version is present 2026-04-20 19:10:12 +08:00
Vittorio Giovara 5b83cc6a91 spherical: Add tiled equirectangular type and projection-specific properties
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2026-04-20 19:10:11 +08:00
openvela-robot b096afe39c mov: Fix spherical metadata_source parsing
Signed-off-by: James Almer <jamrial@gmail.com>
2026-04-20 19:10:09 +08:00
openvela-robot 4dbeceea4b avcodec/h264, videotoolbox: fix crash after VT decoder fails
The way videotoolbox hooks in as a hwaccel is pretty hacky. The VT decode
API is not invoked until end_frame(), so alloc_frame() returns a dummy
frame with a 1-byte buffer. When end_frame() is eventually called, the
dummy buffer is replaced with the actual decoded data from
VTDecompressionSessionDecodeFrame().

When the VT decoder fails, the frame returned to the h264 decoder from
alloc_frame() remains invalid and should not be used. Before
9747219958, it was accidentally being
returned all the way up to the API user. After that commit, the dummy
frame was unref'd so the user received an error.

However, since that commit, VT hwaccel failures started causing random
segfaults in the h264 decoder. This happened more often on iOS where the
VT implementation is more likely to throw errors on bitstream anomolies.
A recent report of this issue can be see in
http://ffmpeg.org/pipermail/libav-user/2016-November/009831.html

The issue here is that the dummy frame is still referenced internally by the
h264 decoder, as part of the reflist and cur_pic_ptr. Deallocating the
frame causes assertions like this one to trip later on during decoding:

  Assertion h->cur_pic_ptr->f->buf[0] failed at src/libavcodec/h264_slice.c:1340

With this commit, we leave the dummy 1-byte frame intact, but avoid returning it
to the user.

This reverts commit 9747219958.

Signed-off-by: wm4 <nfxjfg@googlemail.com>
2026-04-20 19:10:05 +08:00
openvela-robot a583c08f5d pixlet: Fix architecture-dependent code and values
The constants used in the decoder used floating point precision,
and this caused different values to be generated on different
architectures. Additionally on big endian machines, the fate test
would output bytes in native order, which is different from the one
hardcoded in the test.

So, eradicate floating point numbers and use fixed point (32.32)
arithmetics everywhere, replacing constants with precomputed integer
values, and force the pixel format output to be the same in the fate
test.

Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2026-04-20 19:10:02 +08:00
openvela-robot 5dbdb3ed9b lavf/matroska: Support QDMC. 2026-04-20 19:09:58 +08:00
openvela-robot 24d40e2983 build: Explicitly set 32-bit/64-bit object formats for nasm/yasm
Consistently use object format names with "32" suffix and set object format
to "win64" on Windows x86_64, which fixes assembling with nasm.
2026-04-20 19:09:55 +08:00
openvela-robot efad1cf19a avcodec/adxdec: Fix runtime error: left shift of negative value -1
Fixes: 705/clusterfuzz-testcase-5129572590813184

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2026-04-20 19:09:52 +08:00
openvela-robot d51ae8882c nvenc: Remove qmin and qmax constraints for nvenc vbr
qmin and qmax are not necessary for nvenc vbr.

Also fix for using 2 pass vbr mode for slow preset through ctx->flag NVENC_TWO_PASSES.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2026-04-20 19:09:46 +08:00
wm4 54885fd527 avcodec/videotoolbox: allow not setting the kCVPixelBufferPixelFormatTypeKey
If AVVideotoolboxContext.cv_pix_fmt_type is set to 0, don't set the
kCVPixelBufferPixelFormatTypeKey value on the VT decoder.

This makes VT output its native format, which can be much faster on
some hardware iterations (if the native format does not match with
the requested format, it will be converted, which is slow).

The default is still forcing nv12.
2026-04-20 19:09:33 +08:00
wm4 0e5ef202e4 avcodec, avutil, avformat: remove AVOption requirement for some fields
Allow all struct fields to be accessed directly, as long as they're
public.

Before this change, many fields were "public", but could be accessed via
AVOption only. This meant they were effectively not public, but were
present for documentation purposes, which was incredibly confusing at
best.
2026-04-20 19:09:33 +08:00
openvela-robot b3b07196ba avformat/oggdec: remove unused parameter of ogg_restore()
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2026-04-20 19:09:32 +08:00
openvela-robot a65addcf8c intmath: add faster clz support 2026-04-20 19:09:29 +08:00
openvela-robot bba66c4615 compat/cuda: fix ulong size on cygwin 2026-04-20 19:09:25 +08:00
openvela-robot eead5ebe3a build: Add "build" shorthand target that depends on all compile targets 2026-04-20 19:09:22 +08:00
openvela-robot 8cbfcac15e Makefile: Clean compat subdirectory.
Fixes ticket #5546.
2026-04-20 19:09:19 +08:00
openvela-robot 23f89e95e6 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>
2026-04-20 19:09:16 +08:00
openvela-robot f7538a478d 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>
2026-04-20 19:09:13 +08:00
openvela-robot 5bd5c1f28f build: Drop DOC_ prefix from EXAMPLES-related variables 2026-04-20 19:09:10 +08:00
openvela-robot 1d38b12c69 avcodec/scpr: check if total_freq is 0 in decode0
Fixes SIGFPE, closes #6196.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
2026-04-20 19:09:07 +08:00
openvela-robot d709f20dd4 rtsp: Move the pollfd setup out of the for loop 2026-04-20 19:09:04 +08:00
openvela-robot e27cf0a44b avcodec/qdrw: fix decoding odd size images for 16bit case
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2026-04-20 19:09:00 +08:00
openvela-robot 679b0d52be 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.
2026-04-20 19:08:57 +08:00
openvela-robot 6ccf19a7f4 avcodec/vp56: Implement very basic error concealment
This should fix the fate failure due to a truncated last frame.
Alternatively the frame could be dropped.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2026-04-20 19:08:53 +08:00
openvela-robot 0b087e270e apetag: fix flag value to signal footer presence
According to the spec[1], a value of 0 means the footer is present and a value
of 1 means it's absent, the exact opposite of header presence flag where 1
means present and 0 absent.
The reason for this is compatibility with APEv1 tags, where there's no header,
footer presence was mandatory for all files, and the flags field was a zeroed
reserved field.

[1] http://wiki.hydrogenaud.io/index.php?title=Ape_Tags_Flags

Signed-off-by: James Almer <jamrial@gmail.com>

CC: libav-stable@libav.org

Signed-off-by: Anton Khirnov <anton@khirnov.net>
2026-04-20 19:08:49 +08:00
openvela-robot 073b7ec76f lavc/utils: Make second parameter to apply_param_change() const.
Fixes a compilation warning:
passing argument 2 of ‘apply_param_change’ discards ‘const’ qualifier from pointer target type
2026-04-20 19:08:45 +08:00
openvela-robot b62b144de2 fate: Add another SVQ3 test to increase coverage 2026-04-20 19:08:42 +08:00
openvela-robot 3a5ca21f1f lavfi: Add VAAPI deinterlacer
(cherry picked from commit ade370a4d7)
(cherry picked from commit 2d518aec4c)
2026-04-20 19:08:38 +08:00
openvela-robot 909af8cfa4 arm: vp9itxfm: Avoid reloading the idct32 coefficients
The idct32x32 function actually pushed q4-q7 onto the stack even
though it didn't clobber them; there are plenty of registers that
can be used to allow keeping all the idct coefficients in registers
without having to reload different subsets of them at different
stages in the transform.

Since the idct16 core transform avoids clobbering q4-q7 (but clobbers
q2-q3 instead, to avoid needing to back up and restore q4-q7 at all
in the idct16 function), and the lanewise vmul needs a register in
the q0-q3 range, we move the stored coefficients from q2-q3 into q4-q5
while doing idct16.

While keeping these coefficients in registers, we still can skip pushing
q7.

Before:                              Cortex A7       A8       A9      A53
vp9_inv_dct_dct_32x32_sub32_add_neon:  18553.8  17182.7  14303.3  12089.7
After:
vp9_inv_dct_dct_32x32_sub32_add_neon:  18470.3  16717.7  14173.6  11860.8

Signed-off-by: Martin Storsjö <martin@martin.st>
2026-04-20 19:08:36 +08:00
openvela-robot b5b838658e MAINTAINERS: Add ffmpeg-security alias members
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2026-04-20 19:08:31 +08:00
openvela-robot 622bfee9f2 fate: Update fate-lavf-mkv after commit 5d3953a5dc 2026-04-20 19:08:28 +08:00
openvela-robot 4e0971635d avcodec/qdrw: don't overwrite bpp when checking its value
Finishes fixing ticket #6171
2026-04-20 19:08:25 +08:00
openvela-robot 2c0e739a45 fate: Add webp alpha test 2026-04-20 19:08:22 +08:00
openvela-robot 05fe89a970 lavd/opengl_enc: Support BGR48. 2026-04-20 19:08:19 +08:00
openvela-robot 9a8e0306a8 matroskaenc: factor ts_offset into block timecode computation
ts_offset was added to cluster timecode, but then effectively subtracted
back off the block timecode

When setting initial_padding for an audio stream, the timestamps are
written incorrectly to the mkv file.  cluster timecode gets written
as pts0 + ts_offset which is correct, but then block timecode gets
written as pts - cluster timecode which expanded is
pts - (pts0 + ts_offset).  Adding cluster and block tc back together:
cluster + block = (pts0 + ts_offset) + (pts - (pts0 + ts_offset)) = pts
But the result should be pts + ts_offset since demux will subtract the
CodecDelay element from pts and set initial_padding to CodecDelay.
This patch gives the correct result.
2026-04-20 19:08:16 +08:00
openvela-robot f6ea469a16 avformat/hlsenc: fix cid 1401346 Dereferencing pointer error
check if proto is null before av_strcasecmp
CID:  1401346

Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
2026-04-20 19:08:12 +08:00
openvela-robot 6f9d0abff0 build: Drop leftover reference to old EXAMPLES logic 2026-04-20 19:08:09 +08:00
openvela-robot 443856bdac avcodec/nvenc: allow forcing keyframes by default 2026-04-20 19:08:05 +08:00
openvela-robot 0a74ed87f2 configure: Explicitly spell out first require_pkg_config() parameter
This is less confusing than encountering "" in the argument list.
2026-04-20 19:07:54 +08:00
openvela-robot 1f8d2ca7ab avcodec/pictordec: Do not read more than nb_planes
Fixes undefined behavior
Fixes: 622/clusterfuzz-testcase-5745722022428672

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2026-04-20 19:07:48 +08:00
openvela-robot 3af3e76266 dv: Don't return EIO upon EOF 2026-04-20 19:07:46 +08:00
openvela-robot 70386d997e opusenc: initialize the emphasis coefficients on init
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
2026-04-20 19:07:40 +08:00
openvela-robot 71067418e7 vf_deinterlace_vaapi: Create filter buffer after context
The Intel proprietary VAAPI driver enforces the restriction that a
buffer must be created inside an existing context, so just ensure
this is always true.
2026-04-20 19:07:38 +08:00
openvela-robot 990bf77324 lavc/vda_h264_dec.c Fix NULL pointer dereference
ps.sps_list entries may be NULL, so check before dereferencing

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2026-04-20 19:07:34 +08:00
openvela-robot 03a54b95ff vf_fade: Make sure to not miss the last lines of a frame
When slice_h is rounded up due to chroma subsampling, there's
a risk that jobnr * slice_h exceeds frame->height.

Prior to a638e9184d, this wasn't an issue for the last slice
of a frame, since slice_end was set to frame->height for the last
slice.

a638e9184d tried to fix the case where other slices than the
last one would exceed frame->height (which can happen where the
number of slices/threads is very large compared to the frame
height).

However, the fix in a638e9184d instead broke other cases,
where slice_h * nb_threads < frame->height. Therefore, make
sure the last slice always ends at frame->height.

CC: libav-stable@libav.org
Signed-off-by: Martin Storsjö <martin@martin.st>
2026-04-20 19:07:31 +08:00
openvela-robot 1217af5f73 swr/aarch64: add missing ret to ff_resample_common_apply_filter_x8_float_neon 2026-04-20 19:07:28 +08:00
openvela-robot 68e4d25778 configure: Handle SDL version check through pkg-config 2026-04-20 19:07:25 +08:00
openvela-robot 0f33400874 opusenc: fix coarse energy quantization with 2 bits left
Fixes CID1400584

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
2026-04-20 19:07:22 +08:00
openvela-robot 9925916650 avconv: Move rescale to stream timebase before monotonisation
If the stream timebase is coarser than the muxing timebase then the
monotonisation process may fail because adding one to the timestamp
need not actually produce a different timestamp after the rescale.
2026-04-20 19:07:19 +08:00
openvela-robot b381010255 opus_pvq: fix uninitialized variable usage
Fixes CID1400586

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
2026-04-20 19:07:16 +08:00
openvela-robot 915d0ab882 libopenh264dec: Let the framework use the h264_mp4toannexb bitstream filter
This avoids a lot of boilerplate code within the decoder wrapper itself.

Signed-off-by: Martin Storsjö <martin@martin.st>
2026-04-20 19:07:13 +08:00
openvela-robot c4c5966137 adpcm: fix clipping for yamaha
According to specification max value allowed is 0x6000.
Fixes #5862.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
2026-04-20 19:07:10 +08:00
openvela-robot 45a4a4d378 mov: Do not try to parse multiple stsd for the same track
Bug-Id: 1017
CC: libav-stable@libav.org

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2026-04-20 19:07:07 +08:00
Mark Thompson 5ea3f44818 lavc: Add device context field to AVCodecContext
For use by codec implementations which can allocate frames internally.
2026-04-20 19:07:03 +08:00
openvela-robot 157170c0bb doc/protocols: add option usage description
Fixes ticket #6148.

Signed-off-by: Lou Logan <lou@lrcd.com>
2026-04-20 19:07:02 +08:00
openvela-robot fc1defe9d0 lavc: Add device context field to AVCodecContext
For use by codec implementations which can allocate frames internally.
2026-04-20 19:06:59 +08:00
wm4 788f890ea8 AVFrame: add an opaque_ref field
This is an extended version of the AVFrame.opaque field, which can be
used to attach arbitrary user information to an AVFrame.

The usefulness of the opaque field is rather limited, because it can
store only up to 32 bits of information (or 64 bit on 64 bit systems).
It's not possible to set this field to a memory allocation, because
there is no way to deallocate it correctly.

The opaque_ref field circumvents this by letting the user set an
AVBuffer, which makes the user data refcounted.

Signed-off-by: Anton Khirnov <anton@khirnov.net>

Merges Libav commit 04f3bd3496.
2026-04-20 19:06:57 +08:00
openvela-robot e1d5d262b6 avcodec: add FM Screen Capture Codec decoder
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2026-04-20 19:06:55 +08:00
openvela-robot 65aa808230 aac: Validate the sbr sample rate before using the value
Avoid a floating point exception.

Bug-Id: 1027
CC: libav-stable@libav.org
2026-04-20 19:06:52 +08:00
openvela-robot d3956f0756 lavf/omadec: Remove an unsed variable. 2026-04-20 19:06:49 +08:00
openvela-robot b445829464 configure: Move up the avbuild directory creation
The early check for inconsistent in-source vs out-of-source build
cannot generate a config.log otherwise.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2026-04-20 19:06:46 +08:00
openvela-robot 949bb9d217 avcodec: add ATRAC Advanced Lossless decoders
Only lossy part is decoded for now.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
2026-04-20 19:06:43 +08:00
wm4 d2a1596080 AVFrame: add an opaque_ref field
This is an extended version of the AVFrame.opaque field, which can be
used to attach arbitrary user information to an AVFrame.

The usefulness of the opaque field is rather limited, because it can
store only up to 32 bits of information (or 64 bit on 64 bit systems).
It's not possible to set this field to a memory allocation, because
there is no way to deallocate it correctly.

The opaque_ref field circumvents this by letting the user set an
AVBuffer, which makes the user data refcounted.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
2026-04-20 19:06:41 +08:00
Anton Khirnov e8a8cad3ce frame: allow align=0 (meaning automatic) for av_frame_get_buffer()
This will avoid every caller from hardcoding some specific alignment,
which may break in the future with new instruction sets.
2026-04-20 19:06:41 +08:00
Anton Khirnov 2aefb82d55 cpu: add a function for querying maximum required data alignment 2026-04-20 19:06:41 +08:00
openvela-robot 5dacc884ef avio: add a destructor for AVIOContext
Before this commit, AVIOContext is to be freed with a plain av_free(),
which prevents us from adding any deeper structure to it.
2026-04-20 19:06:40 +08:00
openvela-robot 8779b5534c avformat/apetag: fix flag value to signal footer presence
According to the spec[1], a value of 0 means the footer is present and a value
of 1 means it's absent, the exact opposite of header presence flag where 1
means present and 0 absent.
The reason for this is compatibility with APEv1 tags, where there's no header,
footer presence was mandatory for all files, and the flags field was a zeroed
reserved field.

[1] http://wiki.hydrogenaud.io/index.php?title=Ape_Tags_Flags

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
2026-04-20 19:06:36 +08:00
openvela-robot a4cd493b97 mov: Rework stsc index validation
In order to avoid potential integer overflow change the comparison
and make sure to use the same unsigned type for both elements.
2026-04-20 19:06:33 +08:00
openvela-robot 16a288a167 avcodec/qdmc: silence gcc 6.2.0 warning
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2026-04-20 19:06:30 +08:00
openvela-robot 48a43faaaf hlsenc: Correctly write down all 16 bytes in hex
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2026-04-20 19:06:27 +08:00
openvela-robot e6a63e9305 lavf/mov.c: Avoid OOB in mov_read_udta_string()
Core of patch is from paul@paulmehta.com
Reference https://crbug.com/643952 (udta_string portion)

Signed-off-by: Matt Wolenetz <wolenetz@chromium.org>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2026-04-20 19:06:24 +08:00
openvela-robot 9a1285a82c utvideodec: Add a missing include
This was missing from 77c23704c7, fixing building.

Signed-off-by: Martin Storsjö <martin@martin.st>
2026-04-20 19:06:09 +08:00
openvela-robot 23ae923998 avcodec/mjpegenc: Remove non functional huffman reallocation and error handling
If this is wanted iam not against it but it must be designed to work with all cases
like slice threads, and a single growing buffer does not work very well with slices.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2026-04-20 19:06:06 +08:00
openvela-robot d2dd2c373c avcodec: Mark some codecs with threadsafe init as such
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2026-04-20 19:06:03 +08:00
openvela-robot a020ff7f24 ffplay: change keyboard volume control to logarithmic
The command line parameter remains linear.

Signed-off-by: Marton Balint <cus@passwd.hu>
2026-04-20 19:05:58 +08:00
openvela-robot 2fe1a1b662 configure: Correctly recurse in do_check_deps()
Fixes all sorts of configuration problems introducec by dad7a9c7c0
on non-Linux or non-vanilla configs. Also removes a line made redundant
in that commit.
2026-04-20 19:05:56 +08:00
openvela-robot 0c3d38b98c avcodec/pictordec: Fix logic error
Fixes: 559/clusterfuzz-testcase-6424225917173760

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2026-04-20 19:05:51 +08:00
openvela-robot 7966340226 Use bitstream_init8() where appropriate 2026-04-20 19:05:48 +08:00
openvela-robot 588c4de169 configure: use dashes instead of slashes in lib.exe invocation
This avoids issues with wrong parameter translation by msys on some systems,
and the Windows SDK tools accept both forms equally.
2026-04-20 19:05:45 +08:00
openvela-robot 0fc3a50557 wma: Convert to the new bitstream reader 2026-04-20 19:05:42 +08:00
openvela-robot 503cbe6501 avcodec/mpc8: use init_get_bits8()
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2026-04-20 19:05:36 +08:00
openvela-robot 6dcf5385dc rtmp: Correctly handle the Window Acknowledgement Size packets
This swaps which field is set when the Window Acknowledgement Size
and Set Peer BW packets are received, renames the fields in
order to clarify their role further and adds verbose comments
explaining their respective roles and how well the code currently
does what it is supposed to.

The Set Peer BW packet tells the receiver of the packet (which
can be either client or server) that it should not send more data
if it already has sent more data than the specified number of bytes,
without receiving acknowledgement for them. Actually checking this
limit is currently not implemented.

In order to be able to check that properly, one can send the
Window Acknowledgement Size packet, which tells the receiver of the
packet that it needs to send Acknowledgement packets
(RTMP_PT_BYTES_READ) at least after receiving a given number of bytes
since the last Acknowledgement.

Therefore, when we receive a Window Acknowledgement Size packet,
this sets the maximum number of bytes we can receive without sending
an Acknowledgement; therefore when handling this packet we should set
the receive_report_size field (previously client_report_size).

Signed-off-by: Martin Storsjö <martin@martin.st>
2026-04-20 19:05:33 +08:00
openvela-robot 50bfbc45e6 avfilter/scale: refactor common code for scaling height/width expressions
Implements support for height/width expressions in vf_scale_vaapi,
by refactoring common code into a new libavfilter/scale.c

Signed-off-by: Mark Thompson <sw@jkqxz.net>
2026-04-20 19:05:30 +08:00
openvela-robot 374fb35779 svq3: Convert to the new bitstream reader 2026-04-20 19:05:27 +08:00
openvela-robot 9fa7ea5d9f avcodec/dca_lbr: Fix off by 1 error in freq check
Fixes out of array read
Fixes: 510/clusterfuzz-testcase-5737865715646464

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2026-04-20 19:05:24 +08:00
openvela-robot 02a42ad43d configure: Add proper weak dependency of drawtext filter on libfontconfig 2026-04-20 19:05:21 +08:00
openvela-robot 358c283457 Merge commit 'd639dcdae022130078c9c84b7b691c5e9694786c'
* commit 'd639dcdae022130078c9c84b7b691c5e9694786c':
  ratecontrol: Move Xvid-related functions to the place they are actually used

Merged-by: Clément Bœsch <u@pkh.me>
2026-04-20 19:05:08 +08:00
wm4 19df6f5a1a lavc: deprecate refcounted_frames field
No deprecation guards, because the old decode API (for which this field
is needed) doesn't have any either.

This field should be removed together with the old decode calls.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
2026-04-20 19:05:06 +08:00
openvela-robot beb3a2761e avconv: allow -b to be used with streamcopy
In this mode it tells the muxer about the bitrate of the input stream.
2026-04-20 19:05:05 +08:00
openvela-robot 98a2bffc00 Merge commit '7d7355aa92bb36ca0765c49a569a999bcb96f332'
* commit '7d7355aa92bb36ca0765c49a569a999bcb96f332':
  x86: Add SSSE3_SLOW CPU flag and related convenience macros

Merged-by: James Almer <jamrial@gmail.com>
2026-04-20 19:04:59 +08:00
openvela-robot 669e2a09a5 MAINTAINERS: Add myself for boadec.c
It seems ive written this thing though i cannot really remember

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2026-04-20 19:04:51 +08:00
openvela-robot 69e54e5471 golomb: Convert to the new bitstream reader 2026-04-20 19:04:47 +08:00
openvela-robot 293a53db63 ircamdec: prevent overflow during block alignment calculation
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2026-04-20 19:04:18 +08:00
openvela-robot 955415d61f dashenc: add support for assigning streams to AdaptationSets
Also makes sure all streams are assigned to exactly one AdaptationSet.

This patch is originally based partially on code by Vignesh Venkatasubramanian.

Signed-off-by: Peter Große <pegro@friiks.de>
Signed-off-by: Martin Storsjö <martin@martin.st>
2026-04-20 19:04:15 +08:00
openvela-robot 3721a36217 avformat/mov: Fix integer truncation in mov_read_uuid()
Fixes Ticket6102

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2026-04-20 19:04:12 +08:00
openvela-robot b6a45d6d0a dashenc: add option to provide UTC timing source
If set, adds a UTCTiming tag in the manifest.

This is part of the recommendations listed in the "Guidelines for
Implementations: DASH-IF Interoperability Points" [1][2]
Section 4.7 describes means for the Availability Time Synchronization.

A usable default is "https://time.akamai.com/?iso"

[1] http://dashif.org/guidelines/
[2] http://dashif.org/wp-content/uploads/2016/12/DASH-IF-IOP-v4.0-clean.pdf
    (current version as of writing)

Signed-off-by: Peter Große <pegro@friiks.de>
Signed-off-by: Martin Storsjö <martin@martin.st>
2026-04-20 19:04:09 +08:00
openvela-robot e982e6747f lavfi: make ff_framequeue_skip_samples() more useful.
Instead of just updating statistics and leaving the work to the
call site, have it actually do the work.

Also: skip the samples by updating the frame data pointers
instead of moving the samples. More efficient and avoid writing
into shared frames.
Found-By: Muhammad Faiz <mfcc64@gmail.com>
2026-04-20 19:04:05 +08:00
openvela-robot 3d7ac5a234 rtmp: Account for bytes_read wraparound
Servers seem to be happy to receive the wrapped-around value as long
as they receive a report, otherwise they timeout.

Initially reported and analyzed by Thomas Bernhard.
2026-04-20 19:04:02 +08:00
openvela-robot e31a7561e9 doc/examples/decoder_targeted: Disable error concealment after 20 frames
This allows testing EC and non EC. Avoids spending most time in EC on
high res samples and reduces the likelyhood of hitting timeouts

Fixes: Timeout in 467/fuzz-2-ffmpeg_VIDEO_AV_CODEC_ID_H263_fuzzer

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2026-04-20 19:03:59 +08:00
openvela-robot c8a6da62c6 vaapi_encode: Add MPEG-2 support 2026-04-20 19:03:56 +08:00
openvela-robot dd0efe6690 avfilter/avf_showspectrum: fix 2 possible crashes
Make sure no division by zero is done.
Make sure there are actually samples available.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
2026-04-20 19:03:52 +08:00
openvela-robot 0ae32f761e dashenc: add mandatory id to AdaptationSet and Period in manifest
Signed-off-by: Peter Große <pegro@friiks.de>
Signed-off-by: Martin Storsjö <martin@martin.st>
2026-04-20 19:03:49 +08:00
openvela-robot c4f0c880de avfilter: add abitscope multimedia filter
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2026-04-20 19:03:46 +08:00
openvela-robot f10d3d3e4c fifo: Return the correct AVERROR value 2026-04-20 19:03:43 +08:00
openvela-robot a8e4fdc797 ffmpeg_opt.c: Introduce a -vstats_version option and document the existing -vstats format.
Signed-off-by: Sasi Inguva <isasi@google.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2026-04-20 19:03:40 +08:00
openvela-robot 93c2c9d61e configure: Move optflags checks to a more sensible place 2026-04-20 19:03:37 +08:00
openvela-robot 575008de31 lavf/mov: Unscramble dref debug output. 2026-04-20 19:03:34 +08:00
openvela-robot 163c8ec96e mpc: Convert to the new bitstream reader 2026-04-20 19:03:31 +08:00
Marton Balint fe9a2ed448 avutil/channel_layout: add av_get_extended_channel_layout
Return a channel layout and the number of channels based on the specified name.

This function is similar to av_get_channel_layout(), but can also parse unknown
channel layout specifications.

Unknown channel layout specifications are a decimal number and a capital 'C'
suffix, in order to not break compatibility with the lowercase 'c' suffix,
which is used for a guessed channel layout with the specified number of
channels.

Signed-off-by: Marton Balint <cus@passwd.hu>
2026-04-20 19:03:28 +08:00
openvela-robot a843c3c930 avformat/hlsenc: improve to write m3u8 head block
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
2026-04-20 19:03:17 +08:00
openvela-robot 3d16fef69c swscale-test: const correctness for pointer variable
libswscale/swscale-test.c:369:20: warning: passing argument 2 of ‘sws_scale’ from incompatible pointer type [-Wincompatible-pointer-types]
libswscale/swscale.h:207:5: note: expected ‘const uint8_t * const* {aka const unsigned char * const*}’ but argument is of type ‘uint8_t ** {aka unsigned char **}’
2026-04-20 19:03:15 +08:00
Jonathan Campbell e9d7120336 libavutil: add av_lfg_init_from_data() function
seeds an AVLFG from binary data.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2026-04-20 19:03:11 +08:00
openvela-robot dc5c2bf943 avcodec/nvenc: make gpu indices independend of supported capabilities 2026-04-20 19:03:09 +08:00
openvela-robot 0550ac3c7d apedec: Convert to the new bitstream reader 2026-04-20 19:03:06 +08:00
openvela-robot d75862f27e avcodec/wmapro: redone stream selection for XMA1/2
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2026-04-20 19:03:02 +08:00
openvela-robot 14f8b0924c hevc: Mark as having threadsafe init
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2026-04-20 19:02:51 +08:00
Mark Thompson 5aebbbfdbb lavc: Remove old vaapi decode infrastructure
Deprecates struct vaapi_context and the installed header vaapi.h,
to be removed at the next version bump.

(cherry picked from commit 851960f6f8)
2026-04-20 19:02:45 +08:00
openvela-robot 752e94aa47 Merge commit 'f450cc7bc595155bacdb9f5d2414a076ccf81b4a'
* commit 'f450cc7bc595155bacdb9f5d2414a076ccf81b4a':
  h264: eliminate decode_postinit()

Also includes fixes from 1f7b4f9abc and e344e65109.

Original patch replace H264Context.next_output_pic (H264Picture *) by
H264Context.output_frame (AVFrame *). This change is discarded as it
is incompatible with the frame reconstruction and motion vectors
display code which needs the extra information from the H264Picture.

Merged-by: Clément Bœsch <u@pkh.me>
Merged-by: Matthieu Bouron <matthieu.bouron@gmail.com>
2026-04-20 19:02:43 +08:00
openvela-robot 8f90452138 nvenc: Explicitly push the cuda context on encoding
Make sure that NVENC does not misbehave if other cuda usages happen
in the application.
2026-04-20 19:02:41 +08:00
openvela-robot d1cec3529b speedhq: Align blocks variable properly.
Seemingly ff_clear_block_sse assumed that the block array is aligned,
so make sure it is.

Fixes ticket #6079

Signed-off-by: James Almer <jamrial@gmail.com>
2026-04-20 19:02:35 +08:00
openvela-robot 2b1eafd03d qsv: Set the correct range for la_depth
Setting an invalid range for it makes the encoder behave inconsistently.
2026-04-20 19:02:32 +08:00
openvela-robot 0cfbd98cdd libavfilter/af_biquads: warn about clipping only after frame with clipping 2026-04-20 19:02:28 +08:00
Anton Khirnov bce31679a6 lavc: add an option for exporting cropping information to the caller
Also, add generic code for handling cropping, so the decoders can export
just the cropping size and not bother with the rest.
2026-04-20 19:02:25 +08:00
Anton Khirnov bcdfcd2cc5 frame: add a cropping rectangle to AVFrame
Extend the width/height doxy to clarify that it should store coded
values.
2026-04-20 19:02:25 +08:00
openvela-robot da67ce9489 dxva2: get the slice number directly from the surface in D3D11VA
No need to loop through the known surfaces, we'll use the requested surface
anyway.

The loop is only done for DXVA2.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
2026-04-20 19:02:24 +08:00
Nicolas George db026b57af lavfi/buffersink: add accessors for the stream properties.
av_buffersink_get_frame_rate() did already exist; its argument becomes const.
2026-04-20 19:02:20 +08:00
openvela-robot c6eabce579 avformat/hlsenc: hls_start_number_source and start_number
start_number option starts the playlist sequence number
(#EXT-X-MEDIA-SEQUENCE) from the specified number. Unless hls_flags
single_file is set, it also specifies starting sequence numbers of
segment and subtitle filenames. Sometimes it is usefull to have unique
starting numbers at each run, but currently it is only achiveable by
setting this parameter manually.
This patch enables to specify start_number source parameter by
introducing hls_start_number_source with 3 possible values:
generic/epoch/datetime. This ensures to set start sequence number
automatically for practically unique numbers. Generic option is the
default and this is the curent behaviour: start_number option value
specifies the start sequence number. (start_number default value is 0)
If hls_start_number_source is set to epoch, then the start number will
be the seconds since epoch (1970-01-01 00:00:00). If set to datetime,
then the start sequence number will be based on the current date/time
value as YYYYmmddHHMMSS. e.g. 20161231235659.
Hls speficication allows 64 bit integers as sequence numbers. This patch
also changes some code where only 32 bit integer values were handled
correctly.

Reviewed-by: Moritz Barsnick <barsnick@gmx.net>
Signed-off-by: Bela Bodecs <bodecsb@vivanet.hu>
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
2026-04-20 19:02:19 +08:00
openvela-robot cf60959f32 build: Remove stray duplicate conditional variable declaration 2026-04-20 19:02:17 +08:00
openvela-robot d94c101902 x86inc: Avoid using eax/rax for storing the stack pointer
When allocating stack space with an alignment requirement that is larger
than the current stack alignment we need to store a copy of the original
stack pointer in order to be able to restore it later.

If we chose to use another register for this purpose we should not pick
eax/rax since it can be overwritten as a return value.
2026-04-20 19:02:11 +08:00
Diego Biurrun 72b4e2c302 crypto: consistently use size_t as type for length parameters
size_t is the correct type to use for sizes.
2026-04-20 19:02:09 +08:00
openvela-robot 580329038f hevcdec: add P010 support for D3D11VA
Given it's the same API than DVXA2 I don't know why the same output was not
enabled for both.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
2026-04-20 19:02:08 +08:00
openvela-robot 1eb0b327fe avfilter/af_dynaudnorm: fix hang with too short input
The only thing we can do at such point is return samples unchanged.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
2026-04-20 19:02:05 +08:00
openvela-robot 768ddb2a07 dxva2: Make ff_dxva2_get_surface() static and drop its name prefix
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2026-04-20 19:02:02 +08:00
softworkz 3c8b3ff6f9 libavformat/avio: Add avio_get_dyn_buf function
This commit adds the avio_get_dyn_buf function which allows accessing
the
content of a DynBuffer without destroying it.

This is required in matroskaenc for preliminary writing (correct) mkv
headers.

Context for this change is fixing regression bug #5977.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2026-04-20 19:01:59 +08:00
openvela-robot 988be4d562 avformat/hlsenc: fix memleak in hlsenc
fix CID: 1398364 Resource leak
refine the code of the new options

Reviewed-by: Bodecs Bela <bodecsb@vivanet.hu>
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
2026-04-20 19:01:57 +08:00
openvela-robot f155125d6d matroskadec: make sure not to leave EbmlBin in an inconsistent state
If a read fails, the current code will free the data but leave the size
non-zero. Make sure the size is zeroed in such a case.

CC: libav-stable@libav.org
Bug-Id: 1001
Found-By: Kamil Frankowicz
Signed-off-by: Sean McGovern <gseanmcg@gmail.com>
2026-04-20 19:01:55 +08:00
openvela-robot 3fc371ed43 avformat/hlsenc: bugfix in duplicate filename detection
A wrong, unitialized variable is used for testing. This patch fixes this
typo.

Signed-off-by: Bela Bodecs <bodecsb@vivanet.hu>
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
2026-04-20 19:01:52 +08:00
openvela-robot 5a9f061102 vaapi_h265: Fix build failure with old libva without 10-bit surfaces
10-bit surface support was added in libva 1.6.2, earlier versions
support H.265 encoding in 8-bit only.
2026-04-20 19:01:49 +08:00
openvela-robot 3a464c7ec6 avformat/avidec: clean-up identifier names
Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2026-04-20 19:01:46 +08:00
openvela-robot 369baf4c3e arm: vp9mc: Fix vertical alignment of operands
Signed-off-by: Martin Storsjö <martin@martin.st>
2026-04-20 19:01:43 +08:00
openvela-robot 500835e60d avutil/tests: added selftest for aes_ctr.c
Signed-off-by: Thomas Turner <thomastdt@googlemail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2026-04-20 19:01:39 +08:00
openvela-robot a0c9c6ff2d cmdutils: update copyright year to 2017
CC: libav-stable@libav.org
2026-04-20 19:01:36 +08:00
openvela-robot d4a30c5d94 avcodec/mjpegdec: Check for rgb before flipping
Fixes assertion failure due to unsupported case

Fixes: 356/fuzz-1-ffmpeg_VIDEO_AV_CODEC_ID_MJPEG_fuzzer
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2026-04-20 19:01:32 +08:00
openvela-robot 7f1b6b9b7c configure: Fix typo in incdir variable written to config.sh
This fixes includedir lines in pkg-config files broken after 92db508307.
2026-04-20 19:01:29 +08:00
openvela-robot 6c3d0c68f2 lavf/utils.c Protect against accessing entries[nb_entries]
In ff_index_search_timestamp(), if b == num_entries,
m == num_entries - 1, and entries[m].flags & AVINDEX_DISCARD_FRAME is
true, then the search for the next non-discarded packet could access
entries[nb_entries], exceeding its bounds. This change adds a protection
against that scenario. Reference: https://crbug.com/666770

Reviewed-by: Sasi Inguva <isasi@google.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2026-04-20 19:01:16 +08:00
openvela-robot 590671bf7a fate: Unset the sig variable if ignoring a test failure
Otherwise the .rep file would still contain a signal instead of a
zero, even if the process returned success.

Signed-off-by: Martin Storsjö <martin@martin.st>
2026-04-20 19:01:12 +08:00
openvela-robot 4af1c0d379 ffmpeg: remove stop_encoding variable and related code, it is dead / unused code
Fixes: CID1396243

Reviewed-by: compn <tempn@mi.rr.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2026-04-20 19:01:09 +08:00
openvela-robot b9567a0f9f build: Add version numbers to "Requires" entries in pkg-config files
The (required) version numbers disappeared after edb4348732.
2026-04-20 19:01:06 +08:00
openvela-robot 281a41fd97 avfilter/vf_w3fdif: add >8 but <16 bit support
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2026-04-20 19:01:00 +08:00
openvela-robot 245eece554 matroskadec: fix SRT subtitle duration
The codec id for SRT was changed and conditionals were not updated.
2026-04-20 19:00:58 +08:00
openvela-robot d3aa40c161 avutil/tests/random_seed: eliminate goto
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2026-04-20 19:00:54 +08:00
openvela-robot 4c57b356bd Use correct printf conversion specifiers for POSIX integer types 2026-04-20 19:00:51 +08:00
openvela-robot 635ffdf497 avutil/random_seed: Improve get_generic_seed() with higher precission clock()
Tested-by: Thomas Turner <thomastdt@googlemail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2026-04-20 19:00:47 +08:00
openvela-robot 2624503894 build: Store library version numbers in .version files
This moves work from the configure to the Make stage where it can
be parallelized and ensures that shared libraries are built with
the right version number in the filename.
2026-04-20 19:00:44 +08:00
openvela-robot 06dd302329 doc/filters: Fix vsbmc option name.
Reported-by: Антон Приходько
2026-04-20 19:00:41 +08:00
openvela-robot 7735a248fb build: Move build-system-related helper files to a separate subdirectory
This unclutters the top-level directory and groups related files together.
2026-04-20 19:00:38 +08:00
openvela-robot 8621747331 lavfi/atempo: avoid false triggering an assertion failure
Steps to reproduce:
./ffmpeg_g -f s16be -i /dev/null -af atempo=0.5 -y /tmp/atempo.wav

Signed-off-by: Marton Balint <cus@passwd.hu>
2026-04-20 19:00:34 +08:00
openvela-robot a5cf0a87e0 aarch64: vp9itxfm: Use the offset parameter to movrel
This fixes build failures for iOS, broken since cad42fadcd.

Signed-off-by: Martin Storsjö <martin@martin.st>
2026-04-20 19:00:31 +08:00
openvela-robot 4acce249d0 doc/examples/decoder_targeted: Limit max pixels for fuzzing
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2026-04-20 19:00:28 +08:00
openvela-robot 1db6b35812 v4l2: use codec descriptors for mapping a codec name to id
This mapping has nothing to do with decoder implementations, so using
decoder names is wrong.
2026-04-20 19:00:25 +08:00
openvela-robot 9f70d95313 avfilter/vf_ssim: add >8 bit depth suppport
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2026-04-20 19:00:21 +08:00
openvela-robot ba30c67fb9 configure: put d3d11 check in alphabetical order 2026-04-20 19:00:18 +08:00
openvela-robot 72bba12a2c avfilter/vsrc_testsrc: draw_bar: make sure width is not negative
Reported-by: Josh de Kock
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2026-04-20 19:00:15 +08:00
openvela-robot 52aa0d9683 rtmppkt: Check for packet size mismatches
When receiving fragmented packets, the first packet declares the size,
and the later ones normally are small follow-on packets that don't repeat
the size and the other header fields. But technically, the later fragments
also can have a full header, declaring a different size than the previous
packet.

If the follow-on packet declares a larger size than the initial one, we
could end up writing outside of the allocation.

This fixes out of bounds writes.

Found-by: Paul Cher <paulcher@icloud.com>
Reviewed-by: Paul Cher <paulcher@icloud.com>

CC: libav-stable@libav.org
Signed-off-by: Martin Storsjö <martin@martin.st>
2026-04-20 19:00:12 +08:00
openvela-robot ca29035c6d Add missing #includes for standalone spherical-information-related headers
(cherry picked from commit f912fd767e)
Signed-off-by: James Almer <jamrial@gmail.com>
2026-04-20 19:00:08 +08:00
openvela-robot 4aef24b1fc decode.h: Add missing headers to fix standalone compilation 2026-04-20 19:00:05 +08:00
openvela-robot 421f0b9690 Bump for psd demuxer and decoder
Found-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2026-04-20 19:00:02 +08:00
openvela-robot 4777ee827e lavc: add a null bitstream filter
It is useful for testing/debugging and will also be used as the default
filter in the following commit adding pre-decode filtering to avoid
having a separate non-filtered codepath.
2026-04-20 18:59:59 +08:00
openvela-robot 9da7249c92 fate: Add h264 test for frame num gaps
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2026-04-20 18:59:55 +08:00
openvela-robot 2e20e8e46c dxva2: Keep code shared between dxva2 and d3d11va under the correct #if
This partially reverts commit ac648bb835.
2026-04-20 18:59:52 +08:00
openvela-robot 1a2884b7fe lavf/mov: Accept multiple fourcc for AVID 1:1.
Fixes ticket #5982.
2026-04-20 18:59:49 +08:00
openvela-robot b80027f967 dxva2: Simplify some ifdefs 2026-04-20 18:59:46 +08:00
Michael Niedermayer f04d93eeeb avutil: Add av_image_check_size2()
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2026-04-20 18:59:44 +08:00
openvela-robot 7b57f5062e configure: enable sdl if sdl2 is enabled
sdl is supposed to be an alias, so it should have the same value.

Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2026-04-20 18:59:43 +08:00
openvela-robot ffb028ac94 lavfi: Add VAAPI deinterlacer 2026-04-20 18:59:39 +08:00
openvela-robot 97b4881967 libavcodec/tests: Add avpacket test to .gitignore
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2026-04-20 18:59:29 +08:00
openvela-robot 533cef8432 configure: Fix _libs vs. _extralibs oversight 2026-04-20 18:59:25 +08:00
openvela-robot 1850f551c1 swresample/swresample: Check count before memcpy()
Fixes undefined operation
Fixes part of 668007-media

Found-by: Matt Wolenetz <wolenetz@google.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2026-04-20 18:59:21 +08:00
openvela-robot 303b3e948c configure: Simplify some library checks via check_lib() 2026-04-20 18:59:18 +08:00
openvela-robot 2bdd0f7e95 fate: improve fate-mov dependencies
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
2026-04-20 18:59:15 +08:00
openvela-robot 6ac80edfed dxva2: Adjust multiple inclusion guard names to follow convention 2026-04-20 18:59:12 +08:00
openvela-robot 8f88216f7d doc/muxers: remove "-strict experimental" from tee muxer examples
Examples use the native FFmpeg AAC encoder but it is no longer
considered experimental and therefore not required.

Signed-off-by: Lou Logan <lou@lrcd.com>
2026-04-20 18:59:09 +08:00
Vittorio Giovara 829320f1be APIChanges: Mention where release 12 was cut
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2026-04-20 18:59:06 +08:00
openvela-robot 393d69c316 libkvazaar: Add missing header #includes
This fixes compilation after the next version bump.
2026-04-20 18:59:05 +08:00
openvela-robot dc85664968 avfilter/vf_deband: fix silly mistakes
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2026-04-20 18:59:02 +08:00
openvela-robot 51642a9d1b build: Add an internal component for hevc_ps code
This allows expressing dependencies in a more correct way.
2026-04-20 18:58:59 +08:00
Vittorio Giovara 485a9e9dae lavc: Add spherical packet side data API
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2026-04-20 18:58:56 +08:00