FFmpeg acknowledgements and build-time changes
=============================================

This software is based in part on the work of the Independent JPEG Group.

FFmpeg 5.1.8 (tag n5.1.8, commit 9bc0bcce7a03701025d7002271ddc2ce4f351908)
contains IJG-derived code in libavcodec/jfdctfst.c,
libavcodec/jfdctint_template.c and libavcodec/jrevdct.c. These are FFmpeg's
adapted versions, not the original unmodified IJG files. The upstream FFmpeg
versions use FFmpeg's DCT/IDCT interfaces, fixed-width types and support headers;
jfdctint_template.c uses FFmpeg's bit-depth template, and jrevdct.c includes
sparse-block optimizations described in its source comments. The original IJG
copyright, permission and warranty notices remain in those source files.
StepManiaY makes no additional changes to these three files. The full notices
from their upstream source headers are reproduced in LICENSE-ThirdParty.txt.

FFmpeg's LGPL version 2.1 text is in LICENSE-FFmpeg.txt. Every build's FFmpeg,
the 64-bit Windows DLLs included, is configured without its GPL parts and
declares LGPL version 2.1 or later; each build carries it as shared libraries
of its own (Libraries.txt says where). These notices do not change FFmpeg's
license or the engine's inherited license.

visionOS VideoToolbox change (2026-11-04, StepManiaY contributors)
--------------------------------------------------------------
For xros and xrsimulator only, Utils/StepManiaY/ffmpeg-mobile.sh copies the
pinned FFmpeg sources and changes libavcodec/videotoolbox.c to request
kCVPixelBufferMetalCompatibilityKey instead of
kCVPixelBufferOpenGLESCompatibilityKey. visionOS has no OpenGL ES; the change
requests pixel buffers compatible with Metal. The iOS, tvOS, Android and
desktop FFmpeg sources do not receive this substitution.

The reproducible source patch, including a dated notice in the modified file,
is Utils/StepManiaY/ffmpeg-visionos.patch. From the root of a separate copy of
the pinned FFmpeg sources it can be applied with:

    patch -p1 < /path/to/engine/Utils/StepManiaY/ffmpeg-visionos.patch

The build script applies this patch before configuring FFmpeg. A source
package for this build must retain the complete pinned FFmpeg sources, this
patch, Utils/StepManiaY/ffmpeg-mobile.sh and CMake/SetupFfmpeg.cmake, so that the
modified library and its configuration can be reproduced. The build's temporary
patched source directory is removed after compilation; it is not a source
distribution. This notice describes the inputs and transformation, and does
not assert that a corresponding-source download has been published.
