No description
  • C 89.3%
  • Assembly 8.3%
  • Makefile 1.4%
  • GLSL 0.3%
  • C++ 0.3%
  • Other 0.2%
Find a file
Diego de Souza 6e857f12a7 avfilter/vf_scale_cuda: avoid <stdint.h> in CUDA device compilation
The device-only compilation path of vf_scale_cuda.h pulled in <stdint.h>
solely to obtain uint8_t for the CUdeviceptr typedef. On Windows-on-ARM
(aarch64 mingw) this drags in _mingw.h, whose ARM __prefetch intrinsic is
guarded by !__has_builtin(__prefetch). During clang's --cuda-device-only
pass __has_builtin has deferred/inconsistent semantics on the auxiliary
(host) target, so the guard mis-fires, the inline __prefetch definition is
emitted, and clang rejects it:

    _mingw.h: error: definition of builtin function '__prefetch'

This broke the msys2-clangarm64 FATE slot once ffnvcodec (and thus the
nvcc-compiled CUDA filters) was enabled for aarch64 Windows.

uint8_t is unsigned char, so use that directly and drop the <stdint.h>
include. Device-only code should not depend on the host C runtime headers.
No functional or ABI change.

Signed-off-by: Diego de Souza <ddesouza@nvidia.com>
2026-06-03 19:45:19 +00:00
.forgejo .forgejo: add pull request template with fate-samples section 2026-06-01 10:40:57 -05:00
compat
doc avutil/hwcontext_vulkan: publicly expose queue device creation flags 2026-06-02 13:32:43 +02:00
ffbuild
fftools fftools/opt_common: print encoder-specific capabilities in print_codec() 2026-06-02 20:39:56 +00:00
libavcodec avcodec/vc1dsp: always inline vc1_loop_filter 2026-06-03 10:41:08 +00:00
libavdevice
libavfilter avfilter/vf_scale_cuda: avoid <stdint.h> in CUDA device compilation 2026-06-03 19:45:19 +00:00
libavformat avformat/aiffenc: write CHAN chunk after COMM 2026-06-03 14:32:19 +00:00
libavutil lavu/aarch64: unroll butterflies_float to 8 floats/iter 2026-06-03 09:36:59 +00:00
libswresample
libswscale swscale/x86/yuv2rgb: fix planar GBRP boundary check in ssse3 assembly 2026-06-02 23:42:01 +00:00
presets
tests avformat/aiffenc: write CHAN chunk after COMM 2026-06-03 14:32:19 +00:00
tools tools/zmqsend: close the input FILE 2026-05-15 20:35:56 -03:00
.gitattributes
.gitignore
.mailmap
Changelog avcodec/bsf: add dovi_split BSF 2026-05-31 16:58:23 +02:00
configure avcodec/libaomdec: use the ITU-T T35 parsing helpers 2026-06-02 19:50:39 -03:00
CONTRIBUTING.md
COPYING.GPLv2
COPYING.GPLv3
COPYING.LGPLv2.1
COPYING.LGPLv3
CREDITS
FUNDING.json
INSTALL.md
LICENSE.md
MAINTAINERS
Makefile
README.md
RELEASE

FFmpeg README

FFmpeg is a collection of libraries and tools to process multimedia content such as audio, video, subtitles and related metadata.

Libraries

  • libavcodec provides implementation of a wider range of codecs.
  • libavformat implements streaming protocols, container formats and basic I/O access.
  • libavutil includes hashers, decompressors and miscellaneous utility functions.
  • libavfilter provides means to alter decoded audio and video through a directed graph of connected filters.
  • libavdevice provides an abstraction to access capture and playback devices.
  • libswresample implements audio mixing and resampling routines.
  • libswscale implements color conversion and scaling routines.

Tools

  • ffmpeg is a command line toolbox to manipulate, convert and stream multimedia content.
  • ffplay is a minimalistic multimedia player.
  • ffprobe is a simple analysis tool to inspect multimedia content.
  • Additional small tools such as aviocat, ismindex and qt-faststart.

Documentation

The offline documentation is available in the doc/ directory.

The online documentation is available in the main website and in the wiki.

Examples

Coding examples are available in the doc/examples directory.

License

FFmpeg codebase is mainly LGPL-licensed with optional components licensed under GPL. Please refer to the LICENSE file for detailed information.

Contributing

Patches should be submitted to the ffmpeg-devel mailing list using git format-patch or git send-email. Github pull requests should be avoided because they are not part of our review process and will be ignored.