The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build FFmpegKit, reference main (d70480), with Swift 5.10 for macOS (SPM) on 11 Feb 2025 16:56:45 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kingslay/FFmpegKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/kingslay/FFmpegKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at d704803 update
Updating files:  20% (1143/5625)
Updating files:  21% (1182/5625)
Updating files:  22% (1238/5625)
Updating files:  23% (1294/5625)
Updating files:  24% (1350/5625)
Updating files:  25% (1407/5625)
Updating files:  25% (1456/5625)
Updating files:  26% (1463/5625)
Updating files:  27% (1519/5625)
Updating files:  28% (1575/5625)
Updating files:  29% (1632/5625)
Updating files:  30% (1688/5625)
Updating files:  31% (1744/5625)
Updating files:  32% (1800/5625)
Updating files:  33% (1857/5625)
Updating files:  34% (1913/5625)
Updating files:  35% (1969/5625)
Updating files:  36% (2025/5625)
Updating files:  37% (2082/5625)
Updating files:  38% (2138/5625)
Updating files:  39% (2194/5625)
Updating files:  40% (2250/5625)
Updating files:  41% (2307/5625)
Updating files:  42% (2363/5625)
Updating files:  43% (2419/5625)
Updating files:  44% (2475/5625)
Updating files:  45% (2532/5625)
Updating files:  46% (2588/5625)
Updating files:  47% (2644/5625)
Updating files:  47% (2687/5625)
Updating files:  48% (2700/5625)
Updating files:  49% (2757/5625)
Updating files:  50% (2813/5625)
Updating files:  51% (2869/5625)
Updating files:  52% (2925/5625)
Updating files:  53% (2982/5625)
Updating files:  54% (3038/5625)
Updating files:  55% (3094/5625)
Updating files:  56% (3150/5625)
Updating files:  57% (3207/5625)
Updating files:  58% (3263/5625)
Updating files:  59% (3319/5625)
Updating files:  60% (3375/5625)
Updating files:  61% (3432/5625)
Updating files:  62% (3488/5625)
Updating files:  63% (3544/5625)
Updating files:  64% (3600/5625)
Updating files:  65% (3657/5625)
Updating files:  66% (3713/5625)
Updating files:  67% (3769/5625)
Updating files:  68% (3825/5625)
Updating files:  69% (3882/5625)
Updating files:  69% (3925/5625)
Updating files:  70% (3938/5625)
Updating files:  71% (3994/5625)
Updating files:  72% (4050/5625)
Updating files:  73% (4107/5625)
Updating files:  73% (4150/5625)
Updating files:  74% (4163/5625)
Updating files:  75% (4219/5625)
Updating files:  76% (4275/5625)
Updating files:  77% (4332/5625)
Updating files:  78% (4388/5625)
Updating files:  79% (4444/5625)
Updating files:  80% (4500/5625)
Updating files:  80% (4532/5625)
Updating files:  81% (4557/5625)
Updating files:  82% (4613/5625)
Updating files:  83% (4669/5625)
Updating files:  84% (4725/5625)
Updating files:  85% (4782/5625)
Updating files:  86% (4838/5625)
Updating files:  87% (4894/5625)
Updating files:  88% (4950/5625)
Updating files:  89% (5007/5625)
Updating files:  90% (5063/5625)
Updating files:  90% (5100/5625)
Updating files:  91% (5119/5625)
Updating files:  92% (5175/5625)
Updating files:  93% (5232/5625)
Updating files:  94% (5288/5625)
Updating files:  95% (5344/5625)
Updating files:  96% (5400/5625)
Updating files:  97% (5457/5625)
Updating files:  98% (5513/5625)
Updating files:  99% (5569/5625)
Updating files: 100% (5625/5625)
Updating files: 100% (5625/5625), done.
Cloned https://github.com/kingslay/FFmpegKit.git
Revision (git rev-parse @):
d7048037a2eb94a3b08113fbf43aa92bdcb332d9
SUCCESS checkout https://github.com/kingslay/FFmpegKit.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $PWD
https://github.com/kingslay/FFmpegKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
[1/1] Compiling plugin BuildFFmpeg
Building for debugging...
[1/55] Copying libMoltenVK.a
[1/55] Write ffprobe-entitlement.plist
[1/55] Write ffplay-entitlement.plist
[1/55] Write ffmpeg-entitlement.plist
[5/55] Copying libzvbi.framework
[6/55] Copying lcms2.framework
[7/55] Copying Libavfilter.framework
[8/55] Copying Libswresample.framework
[8/55] Copying Libswscale.framework
[10/55] Copying Libavformat.framework
[10/55] Copying libbluray.framework
[12/55] Copying libsrt.framework
[13/55] Copying gnutls.framework
[14/55] Copying libfontconfig.framework
[15/55] Copying libdav1d.framework
[16/55] Copying libass.framework
[17/55] Copying libfribidi.framework
[18/55] Copying libharfbuzz.framework
[19/55] Copying gmp.framework
[20/55] Copying libplacebo.framework
[21/55] Copying Libavdevice.framework
[22/55] Copying nettle.framework
[23/55] Copying Libavcodec.framework
[24/55] Copying libfreetype.framework
[24/55] Copying libshaderc_combined.framework
[26/55] Copying libsmbclient.framework
[27/55] Copying Libavutil.framework
[28/55] Copying hogweed.framework
[29/55] Compiling fftools thread_queue.c
[30/55] Compiling fftools objpool.c
[31/55] Compiling ffmpeg ffmpeg_hw.c
[32/55] Compiling fftools sync_queue.c
In file included from /Users/admin/builder/spi-builder-workspace/Sources/fftools/cmdutils.c:52:
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/opt_common.h:28:5: warning: ambiguous expansion of macro 'CONFIG_AVDEVICE' [-Wambiguous-macro]
#if CONFIG_AVDEVICE
    ^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:617:9: note: expanding this definition of 'CONFIG_AVDEVICE'
#define CONFIG_AVDEVICE 0
        ^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/config.h:617:9: note: other definition of 'CONFIG_AVDEVICE'
#define CONFIG_AVDEVICE 1
        ^
In file included from /Users/admin/builder/spi-builder-workspace/Sources/fftools/cmdutils.c:52:
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/opt_common.h:42:5: warning: ambiguous expansion of macro 'CONFIG_AVDEVICE' [-Wambiguous-macro]
#if CONFIG_AVDEVICE
    ^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:617:9: note: expanding this definition of 'CONFIG_AVDEVICE'
#define CONFIG_AVDEVICE 0
        ^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/config.h:617:9: note: other definition of 'CONFIG_AVDEVICE'
#define CONFIG_AVDEVICE 1
        ^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/cmdutils.c:147:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    while (child = av_opt_child_class_iterate(class, &iter))
           ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/fftools/cmdutils.c:147:18: note: place parentheses around the assignment to silence this warning
    while (child = av_opt_child_class_iterate(class, &iter))
                 ^
           (                                               )
/Users/admin/builder/spi-builder-workspace/Sources/fftools/cmdutils.c:147:18: note: use '==' to turn this assignment into an equality comparison
    while (child = av_opt_child_class_iterate(class, &iter))
                 ^
                 ==
/Users/admin/builder/spi-builder-workspace/Sources/fftools/cmdutils.c:445:12: warning: assigning to 'const unsigned char *' from 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    for (p = a; *p; p++)
           ^ ~
/Users/admin/builder/spi-builder-workspace/Sources/fftools/cmdutils.c:454:12: warning: assigning to 'const unsigned char *' from 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    for (p = a; *p; p++) {
           ^ ~
/Users/admin/builder/spi-builder-workspace/Sources/fftools/cmdutils.c:858:29: warning: ambiguous expansion of macro 'FFMPEG_DATADIR' [-Wambiguous-macro]
                            FFMPEG_DATADIR, };
                            ^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:7:9: note: expanding this definition of 'FFMPEG_DATADIR'
#define FFMPEG_DATADIR "/Users/kintan/Documents/Github/TracyPlayer/KSPlayer/FFmpegKit/.Script/FFmpeg/macos/thin/x86_64/share/ffmpeg"
        ^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/config.h:7:9: note: other definition of 'FFMPEG_DATADIR'
#define FFMPEG_DATADIR "/Users/kintan/Documents/Github/TracyPlayer/Modules/KSPlayer/FFmpegKit/.Script/FFmpeg/macos/thin/x86_64/share/ffmpeg"
        ^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/cmdutils.c:940:13: warning: 4 enumeration values not handled in switch: 'AVMEDIA_TYPE_UNKNOWN', 'AVMEDIA_TYPE_DATA', 'AVMEDIA_TYPE_ATTACHMENT'... [-Wswitch]
    switch (st->codecpar->codec_type) {
            ^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/fftools/cmdutils.c:940:13: note: add missing switch cases
    switch (st->codecpar->codec_type) {
            ^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/cmdutils.c:955:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    while (t = av_dict_iterate(opts, t)) {
           ~~^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/fftools/cmdutils.c:955:14: note: place parentheses around the assignment to silence this warning
    while (t = av_dict_iterate(opts, t)) {
             ^
           (                           )
/Users/admin/builder/spi-builder-workspace/Sources/fftools/cmdutils.c:955:14: note: use '==' to turn this assignment into an equality comparison
    while (t = av_dict_iterate(opts, t)) {
             ^
             ==
8 warnings generated.
[33/55] Compiling fftools cmdutils.c
In file included from /Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:26:
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/opt_common.h:28:5: warning: ambiguous expansion of macro 'CONFIG_AVDEVICE' [-Wambiguous-macro]
#if CONFIG_AVDEVICE
    ^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:617:9: note: expanding this definition of 'CONFIG_AVDEVICE'
#define CONFIG_AVDEVICE 0
        ^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/config.h:617:9: note: other definition of 'CONFIG_AVDEVICE'
#define CONFIG_AVDEVICE 1
        ^
In file included from /Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:26:
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/opt_common.h:42:5: warning: ambiguous expansion of macro 'CONFIG_AVDEVICE' [-Wambiguous-macro]
#if CONFIG_AVDEVICE
    ^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:617:9: note: expanding this definition of 'CONFIG_AVDEVICE'
#define CONFIG_AVDEVICE 0
        ^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/config.h:617:9: note: other definition of 'CONFIG_AVDEVICE'
#define CONFIG_AVDEVICE 1
        ^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:82:7: warning: ambiguous expansion of macro 'CONFIG_GPLV3' [-Wambiguous-macro]
#elif CONFIG_GPLV3
      ^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:690:9: note: expanding this definition of 'CONFIG_GPLV3'
#define CONFIG_GPLV3 1
        ^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/config.h:690:9: note: other definition of 'CONFIG_GPLV3'
#define CONFIG_GPLV3 0
        ^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:187:5: warning: ambiguous expansion of macro 'FFMPEG_CONFIGURATION' [-Wambiguous-macro]
    PRINT_LIB_INFO(avutil,     AVUTIL,     flags, level);
    ^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:172:24: note: expanded from macro 'PRINT_LIB_INFO'
            if (strcmp(FFMPEG_CONFIGURATION, cfg)) {                    \
                       ^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:4:9: note: expanding this definition of 'FFMPEG_CONFIGURATION'
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/config.h:4:9: note: other definition of 'FFMPEG_CONFIGURATION'
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:188:5: warning: ambiguous expansion of macro 'FFMPEG_CONFIGURATION' [-Wambiguous-macro]
    PRINT_LIB_INFO(avcodec,    AVCODEC,    flags, level);
    ^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:172:24: note: expanded from macro 'PRINT_LIB_INFO'
            if (strcmp(FFMPEG_CONFIGURATION, cfg)) {                    \
                       ^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:4:9: note: expanding this definition of 'FFMPEG_CONFIGURATION'
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/config.h:4:9: note: other definition of 'FFMPEG_CONFIGURATION'
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:189:5: warning: ambiguous expansion of macro 'FFMPEG_CONFIGURATION' [-Wambiguous-macro]
    PRINT_LIB_INFO(avformat,   AVFORMAT,   flags, level);
    ^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:172:24: note: expanded from macro 'PRINT_LIB_INFO'
            if (strcmp(FFMPEG_CONFIGURATION, cfg)) {                    \
                       ^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:4:9: note: expanding this definition of 'FFMPEG_CONFIGURATION'
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/config.h:4:9: note: other definition of 'FFMPEG_CONFIGURATION'
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:190:5: warning: ambiguous expansion of macro 'CONFIG_AVDEVICE' [-Wambiguous-macro]
    PRINT_LIB_INFO(avdevice,   AVDEVICE,   flags, level);
    ^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:157:9: note: expanded from macro 'PRINT_LIB_INFO'
    if (CONFIG_##LIBNAME) {                                             \
        ^
<scratch space>:37:1: note: expanded from here
CONFIG_AVDEVICE
^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:617:9: note: expanding this definition of 'CONFIG_AVDEVICE'
#define CONFIG_AVDEVICE 0
        ^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/config.h:617:9: note: other definition of 'CONFIG_AVDEVICE'
#define CONFIG_AVDEVICE 1
        ^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:190:5: warning: ambiguous expansion of macro 'FFMPEG_CONFIGURATION' [-Wambiguous-macro]
    PRINT_LIB_INFO(avdevice,   AVDEVICE,   flags, level);
    ^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:172:24: note: expanded from macro 'PRINT_LIB_INFO'
            if (strcmp(FFMPEG_CONFIGURATION, cfg)) {                    \
                       ^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:4:9: note: expanding this definition of 'FFMPEG_CONFIGURATION'
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/config.h:4:9: note: other definition of 'FFMPEG_CONFIGURATION'
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:191:5: warning: ambiguous expansion of macro 'FFMPEG_CONFIGURATION' [-Wambiguous-macro]
    PRINT_LIB_INFO(avfilter,   AVFILTER,   flags, level);
    ^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:172:24: note: expanded from macro 'PRINT_LIB_INFO'
            if (strcmp(FFMPEG_CONFIGURATION, cfg)) {                    \
                       ^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:4:9: note: expanding this definition of 'FFMPEG_CONFIGURATION'
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/config.h:4:9: note: other definition of 'FFMPEG_CONFIGURATION'
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:192:5: warning: ambiguous expansion of macro 'FFMPEG_CONFIGURATION' [-Wambiguous-macro]
    PRINT_LIB_INFO(swscale,    SWSCALE,    flags, level);
    ^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:172:24: note: expanded from macro 'PRINT_LIB_INFO'
            if (strcmp(FFMPEG_CONFIGURATION, cfg)) {                    \
                       ^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:4:9: note: expanding this definition of 'FFMPEG_CONFIGURATION'
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/config.h:4:9: note: other definition of 'FFMPEG_CONFIGURATION'
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:193:5: warning: ambiguous expansion of macro 'FFMPEG_CONFIGURATION' [-Wambiguous-macro]
    PRINT_LIB_INFO(swresample, SWRESAMPLE, flags, level);
    ^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:172:24: note: expanded from macro 'PRINT_LIB_INFO'
            if (strcmp(FFMPEG_CONFIGURATION, cfg)) {                    \
                       ^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:4:9: note: expanding this definition of 'FFMPEG_CONFIGURATION'
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/config.h:4:9: note: other definition of 'FFMPEG_CONFIGURATION'
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:194:5: warning: ambiguous expansion of macro 'FFMPEG_CONFIGURATION' [-Wambiguous-macro]
    PRINT_LIB_INFO(postproc,   POSTPROC,   flags, level);
    ^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:172:24: note: expanded from macro 'PRINT_LIB_INFO'
            if (strcmp(FFMPEG_CONFIGURATION, cfg)) {                    \
                       ^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:4:9: note: expanding this definition of 'FFMPEG_CONFIGURATION'
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/config.h:4:9: note: other definition of 'FFMPEG_CONFIGURATION'
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:208:45: warning: ambiguous expansion of macro 'FFMPEG_CONFIGURATION' [-Wambiguous-macro]
    av_log(NULL, level, "%sconfiguration: " FFMPEG_CONFIGURATION "\n", indent);
                                            ^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:4:9: note: expanding this definition of 'FFMPEG_CONFIGURATION'
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/config.h:4:9: note: other definition of 'FFMPEG_CONFIGURATION'
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:214:20: warning: ambiguous expansion of macro 'FFMPEG_CONFIGURATION' [-Wambiguous-macro]
    char str[] = { FFMPEG_CONFIGURATION };
                   ^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:4:9: note: expanding this definition of 'FFMPEG_CONFIGURATION'
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/config.h:4:9: note: other definition of 'FFMPEG_CONFIGURATION'
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:953:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    for (i = 0; name = av_get_known_color_name(i, &rgb); i++)
                ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:953:22: note: place parentheses around the assignment to silence this warning
    for (i = 0; name = av_get_known_color_name(i, &rgb); i++)
                     ^
                (                                      )
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:953:22: note: use '==' to turn this assignment into an equality comparison
    for (i = 0; name = av_get_known_color_name(i, &rgb); i++)
                     ^
                     ==
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:1015:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    while (ch_layout = av_channel_layout_standard(&iter)) {
           ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:1015:22: note: place parentheses around the assignment to silence this warning
    while (ch_layout = av_channel_layout_standard(&iter)) {
                     ^
           (                                            )
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:1015:22: note: use '==' to turn this assignment into an equality comparison
    while (ch_layout = av_channel_layout_standard(&iter)) {
                     ^
                     ==
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:1312:5: warning: ambiguous expansion of macro 'CONFIG_AVDEVICE' [-Wambiguous-macro]
#if CONFIG_AVDEVICE
    ^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:617:9: note: expanding this definition of 'CONFIG_AVDEVICE'
#define CONFIG_AVDEVICE 0
        ^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/config.h:617:9: note: other definition of 'CONFIG_AVDEVICE'
#define CONFIG_AVDEVICE 1
        ^
17 warnings generated.
[34/55] Compiling fftools opt_common.c
While building module 'fftools' imported from /Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_opt.c:21:
In file included from <module-includes>:14:
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/opt_common.h:28:5: warning: ambiguous expansion of macro 'CONFIG_AVDEVICE' [-Wambiguous-macro]
#if CONFIG_AVDEVICE
    ^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:617:9: note: expanding this definition of 'CONFIG_AVDEVICE'
#define CONFIG_AVDEVICE 0
        ^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/config.h:617:9: note: other definition of 'CONFIG_AVDEVICE'
#define CONFIG_AVDEVICE 1
        ^
While building module 'fftools' imported from /Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_opt.c:21:
In file included from <module-includes>:14:
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/opt_common.h:42:5: warning: ambiguous expansion of macro 'CONFIG_AVDEVICE' [-Wambiguous-macro]
#if CONFIG_AVDEVICE
    ^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:617:9: note: expanding this definition of 'CONFIG_AVDEVICE'
#define CONFIG_AVDEVICE 0
        ^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/config.h:617:9: note: other definition of 'CONFIG_AVDEVICE'
#define CONFIG_AVDEVICE 1
        ^
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_opt.c:241:89: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses]
                abs_start_seek = is->start_time + (ifile->start_time != AV_NOPTS_VALUE) ? ifile->start_time : 0;
                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_opt.c:241:89: note: place parentheses around the '+' expression to silence this warning
                abs_start_seek = is->start_time + (ifile->start_time != AV_NOPTS_VALUE) ? ifile->start_time : 0;
                                                                                        ^
                                 (                                                     )
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_opt.c:241:89: note: place parentheses around the '?:' expression to evaluate it first
                abs_start_seek = is->start_time + (ifile->start_time != AV_NOPTS_VALUE) ? ifile->start_time : 0;
                                                                                        ^
                                                  (                                                            )
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_opt.c:417:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        if (allow_unused = strchr(map, '?'))
            ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_opt.c:417:26: note: place parentheses around the assignment to silence this warning
        if (allow_unused = strchr(map, '?'))
                         ^
            (                              )
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_opt.c:417:26: note: use '==' to turn this assignment into an equality comparison
        if (allow_unused = strchr(map, '?'))
                         ^
                         ==
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_opt.c:555:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    if (allow_unused = strchr(mapchan, '?'))
        ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_opt.c:555:22: note: place parentheses around the assignment to silence this warning
    if (allow_unused = strchr(mapchan, '?'))
                     ^
        (                                  )
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_opt.c:555:22: note: use '==' to turn this assignment into an equality comparison
    if (allow_unused = strchr(mapchan, '?'))
                     ^
                     ==
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_opt.c:1021:5: warning: assigning to 'const char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    MATCH_PER_TYPE_OPT(codec_names, str, codec_name, NULL, tmp_line);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:934:20: note: expanded from macro 'MATCH_PER_TYPE_OPT'
            outvar = o->name[i].u.type;\
                   ^ ~~~~~~~~~~~~~~~~~
6 warnings generated.
[35/55] Compiling ffmpeg ffmpeg_opt.c
/Users/admin/builder/spi-builder-workspace/Sources/ffplay/ffplay.c:57:10: fatal error: 'SDL.h' file not found
#include <SDL.h>
         ^~~~~~~
1 error generated.
[36/55] Compiling ffplay ffplay.c
[36/55] Compiling FFmpegKit FFmpegKit.c
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_demux.c:336:13: warning: 5 enumeration values not handled in switch: 'AVMEDIA_TYPE_UNKNOWN', 'AVMEDIA_TYPE_DATA', 'AVMEDIA_TYPE_SUBTITLE'... [-Wswitch]
    switch (par->codec_type) {
            ^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_demux.c:336:13: note: add missing switch cases
    switch (par->codec_type) {
            ^
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_demux.c:899:5: warning: assigning to 'char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    MATCH_PER_STREAM_OPT(codec_names, str, codec_name, s, st);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:918:20: note: expanded from macro 'MATCH_PER_STREAM_OPT'
            outvar = o->name[_i].u.type;\
                   ^ ~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_demux.c:922:40: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
                for (int j = 0; config = avcodec_get_hw_config(c, j); j++) {
                                ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_demux.c:922:40: note: place parentheses around the assignment to silence this warning
                for (int j = 0; config = avcodec_get_hw_config(c, j); j++) {
                                       ^
                                (                                   )
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_demux.c:922:40: note: use '==' to turn this assignment into an equality comparison
                for (int j = 0; config = avcodec_get_hw_config(c, j); j++) {
                                       ^
                                       ==
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_demux.c:1068:5: warning: assigning to 'char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    MATCH_PER_STREAM_OPT(codec_tags, str, codec_tag, ic, st);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:918:20: note: expanded from macro 'MATCH_PER_STREAM_OPT'
            outvar = o->name[_i].u.type;\
                   ^ ~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_demux.c:1085:9: warning: assigning to 'const char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        MATCH_PER_STREAM_OPT(hwaccels, str, hwaccel, ic, st);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:918:20: note: expanded from macro 'MATCH_PER_STREAM_OPT'
            outvar = o->name[_i].u.type;\
                   ^ ~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_demux.c:1086:9: warning: assigning to 'char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        MATCH_PER_STREAM_OPT(hwaccel_output_formats, str,
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:918:20: note: expanded from macro 'MATCH_PER_STREAM_OPT'
            outvar = o->name[_i].u.type;\
                   ^ ~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_demux.c:1146:9: warning: assigning to 'char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        MATCH_PER_STREAM_OPT(hwaccel_devices, str, hwaccel_device, ic, st);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:918:20: note: expanded from macro 'MATCH_PER_STREAM_OPT'
            outvar = o->name[_i].u.type;\
                   ^ ~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_demux.c:1167:5: warning: assigning to 'char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    MATCH_PER_STREAM_OPT(discard, str, discard_str, ic, st);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:918:20: note: expanded from macro 'MATCH_PER_STREAM_OPT'
            outvar = o->name[_i].u.type;\
                   ^ ~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_demux.c:1201:9: warning: assigning to 'char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        MATCH_PER_STREAM_OPT(frame_rates, str, framerate, ic, st);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:918:20: note: expanded from macro 'MATCH_PER_STREAM_OPT'
            outvar = o->name[_i].u.type;\
                   ^ ~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_demux.c:1229:9: warning: assigning to 'char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        MATCH_PER_STREAM_OPT(canvas_sizes, str, canvas_size, ic, st);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:918:20: note: expanded from macro 'MATCH_PER_STREAM_OPT'
            outvar = o->name[_i].u.type;\
                   ^ ~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_demux.c:1428:58: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
            av_dict_set(&o->g->format_opts, "ch_layout", o->audio_ch_layouts[o->nb_audio_ch_layouts - 1].u.str, 0);
                                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/dict.h:165:65: note: passing argument to parameter 'value' here
int av_dict_set(AVDictionary **pm, const char *key, const char *value, int flags);
                                                                ^
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_demux.c:1439:25: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                        o->frame_rates[o->nb_frame_rates - 1].u.str, 0);
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/dict.h:165:65: note: passing argument to parameter 'value' here
int av_dict_set(AVDictionary **pm, const char *key, const char *value, int flags);
                                                                ^
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_demux.c:1443:55: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        av_dict_set(&o->g->format_opts, "video_size", o->frame_sizes[o->nb_frame_sizes - 1].u.str, 0);
                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/dict.h:165:65: note: passing argument to parameter 'value' here
int av_dict_set(AVDictionary **pm, const char *key, const char *value, int flags);
                                                                ^
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_demux.c:1446:57: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        av_dict_set(&o->g->format_opts, "pixel_format", o->frame_pix_fmts[o->nb_frame_pix_fmts - 1].u.str, 0);
                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/dict.h:165:65: note: passing argument to parameter 'value' here
int av_dict_set(AVDictionary **pm, const char *key, const char *value, int flags);
                                                                ^
[36/55] Compiling ffmpeg ffmpeg_demux.c
[36/55] Compiling ffmpeg ffmpeg.c
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux.c:784:18: warning: passing 'uint8_t[16]' (aka 'unsigned char[16]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        snprintf(overhead, sizeof(overhead), "%f%%",
                 ^~~~~~~~
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_stdio.h:57:29: note: expanded from macro 'snprintf'
  __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
                            ^~~
[36/55] Compiling ffmpeg ffmpeg_mux.c
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_enc.c:158:20: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        av_strlcpy(encoder_string, LIBAVCODEC_IDENT " ", encoder_string_len);
                   ^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/avstring.h:100:25: note: passing argument to parameter 'dst' here
size_t av_strlcpy(char *dst, const char *src, size_t size);
                        ^
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_enc.c:160:20: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        av_strlcpy(encoder_string, "Lavc ", encoder_string_len);
                   ^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/avstring.h:100:25: note: passing argument to parameter 'dst' here
size_t av_strlcpy(char *dst, const char *src, size_t size);
                        ^
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_enc.c:161:16: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    av_strlcat(encoder_string, cname, encoder_string_len);
               ^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/avstring.h:118:25: note: passing argument to parameter 'dst' here
size_t av_strlcat(char *dst, const char *src, size_t size);
                        ^
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_enc.c:162:49: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    av_dict_set(&ost->st->metadata, "encoder",  encoder_string,
                                                ^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/dict.h:165:65: note: passing argument to parameter 'value' here
int av_dict_set(AVDictionary **pm, const char *key, const char *value, int flags);
                                                                ^
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_enc.c:504:17: warning: 7 enumeration values not handled in switch: 'ENC_STATS_DTS', 'ENC_STATS_DTS_TIME', 'ENC_STATS_SAMPLE_NUM'... [-Wswitch]
        switch (c->type) {
                ^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_enc.c:504:17: note: add missing switch cases
        switch (c->type) {
                ^
[36/55] Compiling ffmpeg ffmpeg_enc.c
[36/55] Compiling ffmpeg ffmpeg_dec.c
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_filter.c:301:18: warning: assigning to 'int8_t *' (aka 'signed char *') from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
    dst          = frame->data    [0];
                 ^ ~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_filter.c:304:29: warning: passing 'int8_t *' (aka 'signed char *') to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
        sub2video_copy_rect(dst, dst_linesize, frame->width, frame->height, sub->rects[i]);
                            ^~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_filter.c:225:42: note: passing argument to parameter 'dst' here
static void sub2video_copy_rect(uint8_t *dst, int dst_linesize, int w, int h,
                                         ^
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_filter.c:681:13: warning: 5 enumeration values not handled in switch: 'AVMEDIA_TYPE_UNKNOWN', 'AVMEDIA_TYPE_DATA', 'AVMEDIA_TYPE_SUBTITLE'... [-Wswitch]
    switch (ost->enc_ctx->codec_type) {
            ^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_filter.c:681:13: note: add missing switch cases
    switch (ost->enc_ctx->codec_type) {
            ^
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_filter.c:910:24: warning: assigning to 'uint8_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        ifp->linklabel = cur->name;
                       ^ ~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_filter.c:915:24: warning: assigning to 'uint8_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        ifilter->name  = describe_filter_link(fg, cur, 1);
                       ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_filter.c:928:28: warning: assigning to 'uint8_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        ofilter->linklabel = cur->name;
                           ^ ~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_filter.c:933:28: warning: assigning to 'uint8_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        ofilter->name      = describe_filter_link(fg, cur, 0);
                           ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_filter.c:1016:31: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        int file_idx = strtol(ifp->linklabel, &p, 0);
                              ^~~~~~~~~~~~~~
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/stdlib.h:167:26: note: passing argument to parameter '__str' here
long     strtol(const char *__str, char **__endptr, int __base);
                            ^
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_filter.c:2365:13: warning: 5 enumeration values not handled in switch: 'AVMEDIA_TYPE_UNKNOWN', 'AVMEDIA_TYPE_DATA', 'AVMEDIA_TYPE_SUBTITLE'... [-Wswitch]
    switch (ifp->type) {
            ^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_filter.c:2365:13: note: add missing switch cases
    switch (ifp->type) {
            ^
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_filter.c:2383:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    if (sd = av_frame_get_side_data(frame, AV_FRAME_DATA_DISPLAYMATRIX)) {
        ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_filter.c:2383:12: note: place parentheses around the assignment to silence this warning
    if (sd = av_frame_get_side_data(frame, AV_FRAME_DATA_DISPLAYMATRIX)) {
           ^
        (                                                              )
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_filter.c:2383:12: note: use '==' to turn this assignment into an equality comparison
    if (sd = av_frame_get_side_data(frame, AV_FRAME_DATA_DISPLAYMATRIX)) {
           ^
           ==
[36/55] Compiling ffmpeg ffmpeg_filter.c
[36/55] Compiling ffprobe ffprobe.c
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:116:5: warning: assigning to 'char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    MATCH_PER_STREAM_OPT(codec_names, str, codec_name, s, ost->st);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:918:20: note: expanded from macro 'MATCH_PER_STREAM_OPT'
            outvar = o->name[_i].u.type;\
                   ^ ~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:172:29: warning: ambiguous expansion of macro 'AVCONV_DATADIR' [-Wambiguous-macro]
                            AVCONV_DATADIR,
                            ^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:8:9: note: expanding this definition of 'AVCONV_DATADIR'
#define AVCONV_DATADIR "/Users/kintan/Documents/Github/TracyPlayer/KSPlayer/FFmpegKit/.Script/FFmpeg/macos/thin/x86_64/share/ffmpeg"
        ^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/config.h:8:9: note: other definition of 'AVCONV_DATADIR'
#define AVCONV_DATADIR "/Users/kintan/Documents/Github/TracyPlayer/Modules/KSPlayer/FFmpegKit/.Script/FFmpeg/macos/thin/x86_64/share/ffmpeg"
        ^
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:297:55: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion]
        { ENC_STATS_FRAME_NUM_IN,   "ni",       0, 0, 1         },
                                                      ^
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:299:55: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion]
        { ENC_STATS_TIMEBASE_IN,    "tbi",      0, 0, 1         },
                                                      ^
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:302:55: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion]
        { ENC_STATS_PTS_IN,         "ptsi",     0, 0, 1         },
                                                      ^
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:303:55: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion]
        { ENC_STATS_PTS_TIME_IN,    "ti",       0, 0, 1         },
                                                      ^
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:304:52: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion]
        { ENC_STATS_DTS,            "dts",      0, 1            },
                                                   ^
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:305:52: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion]
        { ENC_STATS_DTS_TIME,       "dt",       0, 1            },
                                                   ^
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:306:49: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion]
        { ENC_STATS_SAMPLE_NUM,     "sn",       1               },
                                                ^
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:307:49: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion]
        { ENC_STATS_NB_SAMPLES,     "samp",     1               },
                                                ^
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:308:52: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion]
        { ENC_STATS_PKT_SIZE,       "size",     0, 1            },
                                                   ^
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:309:52: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion]
        { ENC_STATS_BITRATE,        "br",       0, 1            },
                                                   ^
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:310:52: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion]
        { ENC_STATS_AVG_BITRATE,    "abr",      0, 1            },
                                                   ^
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:335:24: warning: assigning to 'uint8_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
            c->str     = val;
                       ^ ~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:450:5: warning: assigning to 'const char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    MATCH_PER_STREAM_OPT(filter_scripts, str, filters_script, oc, ost->st);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:918:20: note: expanded from macro 'MATCH_PER_STREAM_OPT'
            outvar = o->name[_i].u.type;\
                   ^ ~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:451:5: warning: assigning to 'const char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    MATCH_PER_STREAM_OPT(filters,        str, filters,        oc, ost->st);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:918:20: note: expanded from macro 'MATCH_PER_STREAM_OPT'
            outvar = o->name[_i].u.type;\
                   ^ ~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:599:5: warning: assigning to 'char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    MATCH_PER_STREAM_OPT(frame_rates, str, frame_rate, oc, st);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:918:20: note: expanded from macro 'MATCH_PER_STREAM_OPT'
            outvar = o->name[_i].u.type;\
                   ^ ~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:605:5: warning: assigning to 'char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    MATCH_PER_STREAM_OPT(max_frame_rates, str, max_frame_rate, oc, st);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:918:20: note: expanded from macro 'MATCH_PER_STREAM_OPT'
            outvar = o->name[_i].u.type;\
                   ^ ~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:616:5: warning: assigning to 'char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    MATCH_PER_STREAM_OPT(frame_aspect_ratios, str, frame_aspect_ratio, oc, st);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:918:20: note: expanded from macro 'MATCH_PER_STREAM_OPT'
            outvar = o->name[_i].u.type;\
                   ^ ~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:637:9: warning: assigning to 'char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        MATCH_PER_STREAM_OPT(frame_sizes, str, frame_size, oc, st);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:918:20: note: expanded from macro 'MATCH_PER_STREAM_OPT'
            outvar = o->name[_i].u.type;\
                   ^ ~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:646:9: warning: assigning to 'char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        MATCH_PER_STREAM_OPT(frame_pix_fmts, str, frame_pix_fmt, oc, st);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:918:20: note: expanded from macro 'MATCH_PER_STREAM_OPT'
            outvar = o->name[_i].u.type;\
                   ^ ~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:658:9: warning: assigning to 'char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        MATCH_PER_STREAM_OPT(intra_matrices, str, intra_matrix, oc, st);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:918:20: note: expanded from macro 'MATCH_PER_STREAM_OPT'
            outvar = o->name[_i].u.type;\
                   ^ ~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:667:9: warning: assigning to 'char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        MATCH_PER_STREAM_OPT(chroma_intra_matrices, str, chroma_intra_matrix, oc, st);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:918:20: note: expanded from macro 'MATCH_PER_STREAM_OPT'
            outvar = o->name[_i].u.type;\
                   ^ ~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:677:9: warning: assigning to 'char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        MATCH_PER_STREAM_OPT(inter_matrices, str, inter_matrix, oc, st);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:918:20: note: expanded from macro 'MATCH_PER_STREAM_OPT'
            outvar = o->name[_i].u.type;\
                   ^ ~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:686:9: warning: assigning to 'const char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        MATCH_PER_STREAM_OPT(rc_overrides, str, p, oc, st);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:918:20: note: expanded from macro 'MATCH_PER_STREAM_OPT'
            outvar = o->name[_i].u.type;\
                   ^ ~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:736:9: warning: assigning to 'char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        MATCH_PER_STREAM_OPT(passlogfiles, str, ost->logfile_prefix, oc, st);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:918:20: note: expanded from macro 'MATCH_PER_STREAM_OPT'
            outvar = o->name[_i].u.type;\
                   ^ ~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:790:9: warning: assigning to 'const char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        MATCH_PER_STREAM_OPT(fps_mode, str, fps_mode, oc, st);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:918:20: note: expanded from macro 'MATCH_PER_STREAM_OPT'
            outvar = o->name[_i].u.type;\
                   ^ ~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:855:9: warning: assigning to 'char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        MATCH_PER_STREAM_OPT(audio_ch_layouts, str, layout, oc, st);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:918:20: note: expanded from macro 'MATCH_PER_STREAM_OPT'
            outvar = o->name[_i].u.type;\
                   ^ ~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:876:9: warning: assigning to 'char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        MATCH_PER_STREAM_OPT(sample_fmts, str, sample_fmt, oc, st);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:918:20: note: expanded from macro 'MATCH_PER_STREAM_OPT'
            outvar = o->name[_i].u.type;\
                   ^ ~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:885:9: warning: assigning to 'char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        MATCH_PER_STREAM_OPT(apad, str, ost->apad, oc, st);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:918:20: note: expanded from macro 'MATCH_PER_STREAM_OPT'
            outvar = o->name[_i].u.type;\
                   ^ ~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:948:9: warning: assigning to 'char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        MATCH_PER_STREAM_OPT(frame_sizes, str, frame_size, mux->fc, st);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:918:20: note: expanded from macro 'MATCH_PER_STREAM_OPT'
            outvar = o->name[_i].u.type;\
                   ^ ~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:1073:13: warning: 5 enumeration values not handled in switch: 'AVMEDIA_TYPE_UNKNOWN', 'AVMEDIA_TYPE_DATA', 'AVMEDIA_TYPE_SUBTITLE'... [-Wswitch]
    switch (par->codec_type) {
            ^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:1073:13: note: add missing switch cases
    switch (par->codec_type) {
            ^
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:1220:9: warning: assigning to 'char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        MATCH_PER_STREAM_OPT(presets, str, preset, oc, st);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:918:20: note: expanded from macro 'MATCH_PER_STREAM_OPT'
            outvar = o->name[_i].u.type;\
                   ^ ~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:1253:9: warning: assigning to 'const char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        MATCH_PER_STREAM_OPT(enc_stats_pre, str, enc_stats_pre, oc, st);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:918:20: note: expanded from macro 'MATCH_PER_STREAM_OPT'
            outvar = o->name[_i].u.type;\
                   ^ ~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:1258:13: warning: assigning to 'const char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
            MATCH_PER_STREAM_OPT(enc_stats_pre_fmt, str, format, oc, st);
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:918:20: note: expanded from macro 'MATCH_PER_STREAM_OPT'
            outvar = o->name[_i].u.type;\
                   ^ ~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:1265:9: warning: assigning to 'const char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        MATCH_PER_STREAM_OPT(enc_stats_post, str, enc_stats_post, oc, st);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:918:20: note: expanded from macro 'MATCH_PER_STREAM_OPT'
            outvar = o->name[_i].u.type;\
                   ^ ~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:1270:13: warning: assigning to 'const char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
            MATCH_PER_STREAM_OPT(enc_stats_post_fmt, str, format, oc, st);
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:918:20: note: expanded from macro 'MATCH_PER_STREAM_OPT'
            outvar = o->name[_i].u.type;\
                   ^ ~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:1277:9: warning: assigning to 'const char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        MATCH_PER_STREAM_OPT(mux_stats, str, mux_stats, oc, st);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:918:20: note: expanded from macro 'MATCH_PER_STREAM_OPT'
            outvar = o->name[_i].u.type;\
                   ^ ~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:1282:13: warning: assigning to 'const char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
            MATCH_PER_STREAM_OPT(mux_stats_fmt, str, format, oc, st);
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:918:20: note: expanded from macro 'MATCH_PER_STREAM_OPT'
            outvar = o->name[_i].u.type;\
                   ^ ~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:1289:9: warning: assigning to 'const char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        MATCH_PER_STREAM_OPT(enc_time_bases, str, enc_time_base, oc, st);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:918:20: note: expanded from macro 'MATCH_PER_STREAM_OPT'
            outvar = o->name[_i].u.type;\
                   ^ ~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:1330:5: warning: assigning to 'const char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    MATCH_PER_STREAM_OPT(time_bases, str, time_base, oc, st);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:918:20: note: expanded from macro 'MATCH_PER_STREAM_OPT'
            outvar = o->name[_i].u.type;\
                   ^ ~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:1354:5: warning: assigning to 'const char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    MATCH_PER_STREAM_OPT(bitstream_filters, str, bsfs, oc, st);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:918:20: note: expanded from macro 'MATCH_PER_STREAM_OPT'
            outvar = o->name[_i].u.type;\
                   ^ ~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:1363:5: warning: assigning to 'char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    MATCH_PER_STREAM_OPT(codec_tags, str, codec_tag, oc, st);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:918:20: note: expanded from macro 'MATCH_PER_STREAM_OPT'
            outvar = o->name[_i].u.type;\
                   ^ ~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:1409:13: warning: enumeration values 'AVMEDIA_TYPE_UNKNOWN', 'AVMEDIA_TYPE_DATA', and 'AVMEDIA_TYPE_NB' not handled in switch [-Wswitch]
    switch (type) {
            ^~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:1409:13: note: add missing switch cases
    switch (type) {
            ^
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:1569:5: warning: assigning to 'char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    MATCH_PER_TYPE_OPT(codec_names, str, subtitle_codec_name, oc, "s");
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:934:20: note: expanded from macro 'MATCH_PER_TYPE_OPT'
            outvar = o->name[i].u.type;\
                   ^ ~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:1641:29: warning: initializing 'const char *' with an expression of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                const char *linklabel = fg->outputs[k]->linklabel;
                            ^           ~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:1956:43: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        ret = av_dict_parse_string(&dict, o->program[i].u.str, "=", ":",
                                          ^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/dict.h:192:57: note: passing argument to parameter 'str' here
int av_dict_parse_string(AVDictionary **pm, const char *str,
                                                        ^
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:1983:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        while (e = av_dict_get(dict, "st", e, 0)) {
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:1983:18: note: place parentheses around the assignment to silence this warning
        while (e = av_dict_get(dict, "st", e, 0)) {
                 ^
               (                                )
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:1983:18: note: use '==' to turn this assignment into an equality comparison
        while (e = av_dict_get(dict, "st", e, 0)) {
                 ^
                 ==
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:1990:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        while (e = av_dict_iterate(dict, e)) {
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:1990:18: note: place parentheses around the assignment to silence this warning
        while (e = av_dict_iterate(dict, e)) {
                 ^
               (                           )
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:1990:18: note: use '==' to turn this assignment into an equality comparison
        while (e = av_dict_iterate(dict, e)) {
                 ^
                 ==
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:2054:22: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        val = strchr(o->metadata[i].u.str, '=');
                     ^~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/string.h:76:26: note: passing argument to parameter '__s' here
char    *strchr(const char *__s, int __c);
                            ^
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:2071:33: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                    if (!strcmp(o->metadata[i].u.str, "rotate")) {
                                ^~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/string.h:77:25: note: passing argument to parameter '__s1' here
int      strcmp(const char *__s1, const char *__s2);
                            ^
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:2086:64: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                        av_dict_set(&oc->streams[j]->metadata, o->metadata[i].u.str, *val ? val : NULL, 0);
                                                               ^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/dict.h:165:48: note: passing argument to parameter 'key' here
int av_dict_set(AVDictionary **pm, const char *key, const char *value, int flags);
                                               ^
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:2116:28: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
            av_dict_set(m, o->metadata[i].u.str, *val ? val : NULL, 0);
                           ^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/dict.h:165:48: note: passing argument to parameter 'key' here
int av_dict_set(AVDictionary **pm, const char *key, const char *value, int flags);
                                               ^
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:2266:36: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        int in_file_index = strtol(o->metadata_map[i].u.str, &p, 0);
                                   ^~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/stdlib.h:167:26: note: passing argument to parameter '__str' here
long     strtol(const char *__str, char **__endptr, int __base);
                            ^
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:2351:9: warning: assigning to 'const char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        MATCH_PER_STREAM_OPT(disposition, str, dispositions[i], ctx, ost->st);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:918:20: note: expanded from macro 'MATCH_PER_STREAM_OPT'
            outvar = o->name[_i].u.type;\
                   ^ ~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:2493:9: warning: assigning to 'const char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        MATCH_PER_STREAM_OPT(forced_key_frames, str, forced_keyframes, mux->fc, ost->st);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:918:20: note: expanded from macro 'MATCH_PER_STREAM_OPT'
            outvar = o->name[_i].u.type;\
                   ^ ~~~~~~~~~~~~~~~~~~
[36/55] Compiling ffmpeg ffmpeg_mux_init.c
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install sdl2 using your system-packager:
    brew install sdl2
BUILD FAILURE 5.10 macosSpm