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 6.0 for macOS (SPM) on 11 Feb 2025 16:57:07 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.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:  11% (638/5625)
Updating files:  12% (675/5625)
Updating files:  13% (732/5625)
Updating files:  14% (788/5625)
Updating files:  15% (844/5625)
Updating files:  16% (900/5625)
Updating files:  17% (957/5625)
Updating files:  18% (1013/5625)
Updating files:  19% (1069/5625)
Updating files:  20% (1125/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% (1454/5625)
Updating files:  26% (1463/5625)
Updating files:  27% (1519/5625)
Updating files:  28% (1575/5625)
Updating files:  29% (1632/5625)
Updating files:  29% (1655/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:  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:  65% (3697/5625)
Updating files:  66% (3713/5625)
Updating files:  67% (3769/5625)
Updating files:  68% (3825/5625)
Updating files:  69% (3882/5625)
Updating files:  70% (3938/5625)
Updating files:  71% (3994/5625)
Updating files:  72% (4050/5625)
Updating files:  73% (4107/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% (4517/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:  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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "ffmpegkit",
      "name": "FFmpegKit",
      "url": "https://github.com/kingslay/FFmpegKit.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/FFmpegKit",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/kingslay/FFmpegKit.git
[1/8612] Fetching ffmpegkit
Fetched https://github.com/kingslay/FFmpegKit.git from cache (73.18s)
Creating working copy for https://github.com/kingslay/FFmpegKit.git
Working copy of https://github.com/kingslay/FFmpegKit.git resolved at main (d704803)
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/kingslay/FFmpegKit.git
https://github.com/kingslay/FFmpegKit.git
{
  "default_localization" : "en",
  "dependencies" : [
  ],
  "manifest_display_name" : "FFmpegKit",
  "name" : "FFmpegKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "maccatalyst",
      "version" : "14.0"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "FFmpegKit",
      "targets" : [
        "FFmpegKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Libavcodec",
      "targets" : [
        "Libavcodec"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Libavfilter",
      "targets" : [
        "Libavfilter"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Libavformat",
      "targets" : [
        "Libavformat"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Libavutil",
      "targets" : [
        "Libavutil"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Libswresample",
      "targets" : [
        "Libswresample"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Libswscale",
      "targets" : [
        "Libswscale"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "libass",
      "targets" : [
        "libfreetype",
        "libfribidi",
        "libharfbuzz",
        "libass"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "libmpv",
      "targets" : [
        "FFmpegKit",
        "libass",
        "libmpv"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ffmpeg",
      "targets" : [
        "ffmpeg"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "ffplay",
      "targets" : [
        "ffplay"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "ffprobe",
      "targets" : [
        "ffprobe"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "BuildFFmpeg",
      "targets" : [
        "BuildFFmpeg"
      ],
      "type" : {
        "plugin" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "nettle",
      "module_type" : "BinaryTarget",
      "name" : "nettle",
      "path" : "Sources/nettle.xcframework",
      "product_memberships" : [
        "FFmpegKit",
        "libmpv",
        "ffmpeg",
        "ffplay",
        "ffprobe"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "libzvbi",
      "module_type" : "BinaryTarget",
      "name" : "libzvbi",
      "path" : "Sources/libzvbi.xcframework",
      "product_memberships" : [
        "FFmpegKit",
        "libmpv",
        "ffmpeg",
        "ffplay",
        "ffprobe"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "libsrt",
      "module_type" : "BinaryTarget",
      "name" : "libsrt",
      "path" : "Sources/libsrt.xcframework",
      "product_memberships" : [
        "FFmpegKit",
        "libmpv",
        "ffmpeg",
        "ffplay",
        "ffprobe"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "libsmbclient",
      "module_type" : "BinaryTarget",
      "name" : "libsmbclient",
      "path" : "Sources/libsmbclient.xcframework",
      "product_memberships" : [
        "FFmpegKit",
        "libmpv",
        "ffmpeg",
        "ffplay",
        "ffprobe"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "libshaderc_combined",
      "module_type" : "BinaryTarget",
      "name" : "libshaderc_combined",
      "path" : "Sources/libshaderc_combined.xcframework",
      "product_memberships" : [
        "FFmpegKit",
        "libmpv",
        "ffmpeg",
        "ffplay",
        "ffprobe"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "libplacebo",
      "module_type" : "BinaryTarget",
      "name" : "libplacebo",
      "path" : "Sources/libplacebo.xcframework",
      "product_memberships" : [
        "FFmpegKit",
        "libmpv",
        "ffmpeg",
        "ffplay",
        "ffprobe"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "libmpv",
      "module_type" : "BinaryTarget",
      "name" : "libmpv",
      "path" : "Sources/libmpv.xcframework",
      "product_memberships" : [
        "libmpv"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "libharfbuzz",
      "module_type" : "BinaryTarget",
      "name" : "libharfbuzz",
      "path" : "Sources/libharfbuzz.xcframework",
      "product_memberships" : [
        "FFmpegKit",
        "libass",
        "libmpv",
        "ffmpeg",
        "ffplay",
        "ffprobe"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "libfribidi",
      "module_type" : "BinaryTarget",
      "name" : "libfribidi",
      "path" : "Sources/libfribidi.xcframework",
      "product_memberships" : [
        "FFmpegKit",
        "libass",
        "libmpv",
        "ffmpeg",
        "ffplay",
        "ffprobe"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "libfreetype",
      "module_type" : "BinaryTarget",
      "name" : "libfreetype",
      "path" : "Sources/libfreetype.xcframework",
      "product_memberships" : [
        "FFmpegKit",
        "libass",
        "libmpv",
        "ffmpeg",
        "ffplay",
        "ffprobe"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "libfontconfig",
      "module_type" : "BinaryTarget",
      "name" : "libfontconfig",
      "path" : "Sources/libfontconfig.xcframework",
      "product_memberships" : [
        "FFmpegKit",
        "libmpv",
        "ffmpeg",
        "ffplay",
        "ffprobe"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "libdav1d",
      "module_type" : "BinaryTarget",
      "name" : "libdav1d",
      "path" : "Sources/libdav1d.xcframework",
      "product_memberships" : [
        "FFmpegKit",
        "libmpv",
        "ffmpeg",
        "ffplay",
        "ffprobe"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "libbluray",
      "module_type" : "BinaryTarget",
      "name" : "libbluray",
      "path" : "Sources/libbluray.xcframework",
      "product_memberships" : [
        "FFmpegKit",
        "libmpv",
        "ffmpeg",
        "ffplay",
        "ffprobe"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "libass",
      "module_type" : "BinaryTarget",
      "name" : "libass",
      "path" : "Sources/libass.xcframework",
      "product_memberships" : [
        "FFmpegKit",
        "libass",
        "libmpv",
        "ffmpeg",
        "ffplay",
        "ffprobe"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "lcms2",
      "module_type" : "BinaryTarget",
      "name" : "lcms2",
      "path" : "Sources/lcms2.xcframework",
      "product_memberships" : [
        "FFmpegKit",
        "libmpv",
        "ffmpeg",
        "ffplay",
        "ffprobe"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "hogweed",
      "module_type" : "BinaryTarget",
      "name" : "hogweed",
      "path" : "Sources/hogweed.xcframework",
      "product_memberships" : [
        "FFmpegKit",
        "libmpv",
        "ffmpeg",
        "ffplay",
        "ffprobe"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "gnutls",
      "module_type" : "BinaryTarget",
      "name" : "gnutls",
      "path" : "Sources/gnutls.xcframework",
      "product_memberships" : [
        "FFmpegKit",
        "libmpv",
        "ffmpeg",
        "ffplay",
        "ffprobe"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "gmp",
      "module_type" : "BinaryTarget",
      "name" : "gmp",
      "path" : "Sources/gmp.xcframework",
      "product_memberships" : [
        "FFmpegKit",
        "libmpv",
        "ffmpeg",
        "ffplay",
        "ffprobe"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "fftools",
      "module_type" : "ClangTarget",
      "name" : "fftools",
      "path" : "Sources/fftools",
      "product_memberships" : [
        "ffmpeg",
        "ffplay",
        "ffprobe"
      ],
      "sources" : [
        "cmdutils.c",
        "objpool.c",
        "opt_common.c",
        "sync_queue.c",
        "thread_queue.c"
      ],
      "target_dependencies" : [
        "FFmpegKit"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ffprobe",
      "module_type" : "ClangTarget",
      "name" : "ffprobe",
      "path" : "Sources/ffprobe",
      "product_memberships" : [
        "ffprobe"
      ],
      "sources" : [
        "ffprobe.c"
      ],
      "target_dependencies" : [
        "fftools"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "ffplay",
      "module_type" : "ClangTarget",
      "name" : "ffplay",
      "path" : "Sources/ffplay",
      "product_memberships" : [
        "ffplay"
      ],
      "sources" : [
        "ffplay.c"
      ],
      "target_dependencies" : [
        "fftools",
        "SDL2"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "ffmpeg",
      "module_type" : "ClangTarget",
      "name" : "ffmpeg",
      "path" : "Sources/ffmpeg",
      "product_memberships" : [
        "ffmpeg"
      ],
      "sources" : [
        "ffmpeg.c",
        "ffmpeg_dec.c",
        "ffmpeg_demux.c",
        "ffmpeg_enc.c",
        "ffmpeg_filter.c",
        "ffmpeg_hw.c",
        "ffmpeg_mux.c",
        "ffmpeg_mux_init.c",
        "ffmpeg_opt.c"
      ],
      "target_dependencies" : [
        "fftools"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "SDL2",
      "module_type" : "SystemLibraryTarget",
      "name" : "SDL2",
      "path" : "Sources/SDL2",
      "product_memberships" : [
        "ffplay"
      ],
      "sources" : [
      ],
      "type" : "system-target"
    },
    {
      "c99name" : "MoltenVK",
      "module_type" : "BinaryTarget",
      "name" : "MoltenVK",
      "path" : "Sources/MoltenVK.xcframework",
      "product_memberships" : [
        "FFmpegKit",
        "libmpv",
        "ffmpeg",
        "ffplay",
        "ffprobe"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "Libswscale",
      "module_type" : "BinaryTarget",
      "name" : "Libswscale",
      "path" : "Sources/Libswscale.xcframework",
      "product_memberships" : [
        "FFmpegKit",
        "Libswscale",
        "libmpv",
        "ffmpeg",
        "ffplay",
        "ffprobe"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "Libswresample",
      "module_type" : "BinaryTarget",
      "name" : "Libswresample",
      "path" : "Sources/Libswresample.xcframework",
      "product_memberships" : [
        "FFmpegKit",
        "Libswresample",
        "libmpv",
        "ffmpeg",
        "ffplay",
        "ffprobe"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "Libavutil",
      "module_type" : "BinaryTarget",
      "name" : "Libavutil",
      "path" : "Sources/Libavutil.xcframework",
      "product_memberships" : [
        "FFmpegKit",
        "Libavutil",
        "libmpv",
        "ffmpeg",
        "ffplay",
        "ffprobe"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "Libavformat",
      "module_type" : "BinaryTarget",
      "name" : "Libavformat",
      "path" : "Sources/Libavformat.xcframework",
      "product_memberships" : [
        "FFmpegKit",
        "Libavformat",
        "libmpv",
        "ffmpeg",
        "ffplay",
        "ffprobe"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "Libavfilter",
      "module_type" : "BinaryTarget",
      "name" : "Libavfilter",
      "path" : "Sources/Libavfilter.xcframework",
      "product_memberships" : [
        "FFmpegKit",
        "Libavfilter",
        "libmpv",
        "ffmpeg",
        "ffplay",
        "ffprobe"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "Libavdevice",
      "module_type" : "BinaryTarget",
      "name" : "Libavdevice",
      "path" : "Sources/Libavdevice.xcframework",
      "product_memberships" : [
        "FFmpegKit",
        "libmpv",
        "ffmpeg",
        "ffplay",
        "ffprobe"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "Libavcodec",
      "module_type" : "BinaryTarget",
      "name" : "Libavcodec",
      "path" : "Sources/Libavcodec.xcframework",
      "product_memberships" : [
        "FFmpegKit",
        "Libavcodec",
        "libmpv",
        "ffmpeg",
        "ffplay",
        "ffprobe"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "FFmpegKit",
      "module_type" : "ClangTarget",
      "name" : "FFmpegKit",
      "path" : "Sources/FFmpegKit",
      "product_memberships" : [
        "FFmpegKit",
        "libmpv",
        "ffmpeg",
        "ffplay",
        "ffprobe"
      ],
      "sources" : [
        "FFmpegKit.c"
      ],
      "target_dependencies" : [
        "MoltenVK",
        "libshaderc_combined",
        "lcms2",
        "libdav1d",
        "libplacebo",
        "libzvbi",
        "libsrt",
        "libfreetype",
        "libfribidi",
        "libharfbuzz",
        "libass",
        "libfontconfig",
        "libbluray",
        "gmp",
        "nettle",
        "hogweed",
        "gnutls",
        "libsmbclient",
        "Libavcodec",
        "Libavdevice",
        "Libavfilter",
        "Libavformat",
        "Libavutil",
        "Libswresample",
        "Libswscale"
      ],
      "type" : "library"
    },
    {
      "c99name" : "BuildFFmpeg",
      "module_type" : "PluginTarget",
      "name" : "BuildFFmpeg",
      "path" : "Plugins/BuildFFmpeg",
      "plugin_capability" : {
        "intent" : {
          "description" : "You can customize FFmpeg and then compile FFmpeg",
          "type" : "custom",
          "verb" : "BuildFFmpeg"
        },
        "permissions" : [
        ],
        "type" : "command"
      },
      "product_memberships" : [
        "BuildFFmpeg"
      ],
      "sources" : [
        "BuildASS.swift",
        "BuildFFMPEG.swift",
        "BuildMPV.swift",
        "BuildPlacebo.swift",
        "BuildSmbclient.swift",
        "SSL.swift",
        "main.swift"
      ],
      "type" : "plugin"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
[1/1] Compiling plugin BuildFFmpeg
Building for debugging...
[1/55] Copying libMoltenVK.a
[1/55] Write ffmpeg-entitlement.plist
[1/55] Write ffprobe-entitlement.plist
[1/55] Write ffplay-entitlement.plist
[5/55] Copying gmp.framework
[6/55] Copying libzvbi.framework
[7/55] Copying lcms2.framework
[8/55] Copying Libswscale.framework
[9/55] Copying Libswresample.framework
[10/55] Copying Libavformat.framework
[11/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 libfribidi.framework
[17/55] Copying libass.framework
[18/55] Copying libharfbuzz.framework
[18/55] Copying Libavdevice.framework
[20/55] Copying Libavfilter.framework
[21/55] Copying libplacebo.framework
[22/55] Copying libfreetype.framework
[23/55] Copying libshaderc_combined.framework
[24/55] Copying nettle.framework
[25/55] Copying Libavcodec.framework
[26/55] Copying libsmbclient.framework
[27/55] Copying Libavutil.framework
[28/55] Copying hogweed.framework
[29/55] Compiling fftools objpool.c
[30/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]
   28 | #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'
  617 | #define CONFIG_AVDEVICE 0
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/config.h:617:9: note: other definition of 'CONFIG_AVDEVICE'
  617 | #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]
   42 | #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'
  617 | #define CONFIG_AVDEVICE 0
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/config.h:617:9: note: other definition of 'CONFIG_AVDEVICE'
  617 | #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]
  147 |     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
  147 |     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
  147 |     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]
  445 |     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]
  454 |     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]
  858 |                             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'
    7 | #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'
    7 | #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]
  940 |     switch (st->codecpar->codec_type) {
      |             ^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/fftools/cmdutils.c:940:13: note: add missing switch cases
  940 |     switch (st->codecpar->codec_type) {
      |             ^
  941 |     case AVMEDIA_TYPE_VIDEO:
  942 |         prefix  = 'v';
  943 |         flags  |= AV_OPT_FLAG_VIDEO_PARAM;
  944 |         break;
  945 |     case AVMEDIA_TYPE_AUDIO:
  946 |         prefix  = 'a';
  947 |         flags  |= AV_OPT_FLAG_AUDIO_PARAM;
  948 |         break;
  949 |     case AVMEDIA_TYPE_SUBTITLE:
  950 |         prefix  = 's';
  951 |         flags  |= AV_OPT_FLAG_SUBTITLE_PARAM;
  952 |         break;
  953 |     }
/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]
  955 |     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
  955 |     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
  955 |     while (t = av_dict_iterate(opts, t)) {
      |              ^
      |              ==
8 warnings generated.
[31/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]
   28 | #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'
  617 | #define CONFIG_AVDEVICE 0
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/config.h:617:9: note: other definition of 'CONFIG_AVDEVICE'
  617 | #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]
   42 | #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'
  617 | #define CONFIG_AVDEVICE 0
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/config.h:617:9: note: other definition of 'CONFIG_AVDEVICE'
  617 | #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]
   82 | #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'
  690 | #define CONFIG_GPLV3 1
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/config.h:690:9: note: other definition of 'CONFIG_GPLV3'
  690 | #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]
  187 |     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'
  172 |             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]
  188 |     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'
  172 |             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]
  189 |     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'
  172 |             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]
  190 |     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'
  157 |     if (CONFIG_##LIBNAME) {                                             \
      |         ^
<scratch space>:37:1: note: expanded from here
   37 | 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'
  617 | #define CONFIG_AVDEVICE 0
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/config.h:617:9: note: other definition of 'CONFIG_AVDEVICE'
  617 | #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]
  190 |     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'
  172 |             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]
  191 |     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'
  172 |             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]
  192 |     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'
  172 |             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]
  193 |     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'
  172 |             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]
  194 |     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'
  172 |             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]
  208 |     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]
  214 |     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]
  953 |     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
  953 |     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
  953 |     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]
 1015 |     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
 1015 |     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
 1015 |     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]
 1312 | #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'
  617 | #define CONFIG_AVDEVICE 0
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/config.h:617:9: note: other definition of 'CONFIG_AVDEVICE'
  617 | #define CONFIG_AVDEVICE 1
      |         ^
17 warnings generated.
[32/55] Compiling fftools opt_common.c
[33/55] Compiling fftools thread_queue.c
[34/55] Compiling ffmpeg ffmpeg_hw.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]
  158 |         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
  100 | 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]
  160 |         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
  100 | 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]
  161 |     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
  118 | 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]
  162 |     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
  165 | 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]
  504 |         switch (c->type) {
      |                 ^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_enc.c:504:17: note: add missing switch cases
  504 |         switch (c->type) {
      |                 ^
  505 |         case ENC_STATS_LITERAL:         avio_write (io, c->str,     c->str_len);                    continue;
  506 |         case ENC_STATS_FILE_IDX:        avio_printf(io, "%d",       ost->file_index);               continue;
  507 |         case ENC_STATS_STREAM_IDX:      avio_printf(io, "%d",       ost->index);                    continue;
  508 |         case ENC_STATS_TIMEBASE:        avio_printf(io, "%d/%d",    tb.num, tb.den);                continue;
  509 |         case ENC_STATS_TIMEBASE_IN:     avio_printf(io, "%d/%d",    tbi.num, tbi.den);              continue;
  510 |         case ENC_STATS_PTS:             avio_printf(io, "%"PRId64,  pts);                           continue;
  511 |         case ENC_STATS_PTS_IN:          avio_printf(io, "%"PRId64,  ptsi);                          continue;
  512 |         case ENC_STATS_PTS_TIME:        avio_printf(io, "%g",       pts * av_q2d(tb));              continue;
  513 |         case ENC_STATS_PTS_TIME_IN:     avio_printf(io, "%g",       ptsi == INT64_MAX ?
  514 |                                                                     INFINITY : ptsi * av_q2d(tbi)); continue;
  515 |         case ENC_STATS_FRAME_NUM:       avio_printf(io, "%"PRIu64,  frame_num);                     continue;
  516 |         case ENC_STATS_FRAME_NUM_IN:    avio_printf(io, "%"PRIu64,  fd ? fd->dec.frame_num : -1);   continue;
  517 |         }
5 warnings generated.
[35/55] Compiling ffmpeg ffmpeg_enc.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]
  301 |     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]
  304 |         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
  225 | 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]
  681 |     switch (ost->enc_ctx->codec_type) {
      |             ^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_filter.c:681:13: note: add missing switch cases
  681 |     switch (ost->enc_ctx->codec_type) {
      |             ^
  682 |     case AVMEDIA_TYPE_VIDEO:
/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]
  910 |         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]
  915 |         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]
  928 |         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]
  933 |         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]
 1016 |         int file_idx = strtol(ifp->linklabel, &p, 0);
      |                               ^~~~~~~~~~~~~~
/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/usr/include/_stdlib.h:167:26: note: passing argument to parameter '__str' here
  167 | 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]
 2365 |     switch (ifp->type) {
      |             ^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_filter.c:2365:13: note: add missing switch cases
 2365 |     switch (ifp->type) {
      |             ^
 2366 |     case AVMEDIA_TYPE_AUDIO:
 2367 |         need_reinit |= ifp->sample_rate    != frame->sample_rate ||
 2368 |                        av_channel_layout_compare(&ifp->ch_layout, &frame->ch_layout);
 2369 |         break;
 2370 |     case AVMEDIA_TYPE_VIDEO:
 2371 |         need_reinit |= ifp->width  != frame->width ||
 2372 |                        ifp->height != frame->height;
 2373 |         break;
 2374 |     }
/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]
 2383 |     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
 2383 |     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
 2383 |     if (sd = av_frame_get_side_data(frame, AV_FRAME_DATA_DISPLAYMATRIX)) {
      |            ^
      |            ==
10 warnings generated.
[36/55] Compiling ffmpeg ffmpeg_filter.c
[37/55] Compiling ffmpeg ffmpeg_dec.c
[38/55] Compiling FFmpegKit FFmpegKit.c
While building module 'fftools' imported from /Users/admin/builder/spi-builder-workspace/Sources/ffprobe/ffprobe.c:26:
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]
   28 | #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'
  617 | #define CONFIG_AVDEVICE 0
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/config.h:617:9: note: other definition of 'CONFIG_AVDEVICE'
  617 | #define CONFIG_AVDEVICE 1
      |         ^
While building module 'fftools' imported from /Users/admin/builder/spi-builder-workspace/Sources/ffprobe/ffprobe.c:26:
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]
   42 | #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'
  617 | #define CONFIG_AVDEVICE 0
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/config.h:617:9: note: other definition of 'CONFIG_AVDEVICE'
  617 | #define CONFIG_AVDEVICE 1
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/ffprobe/ffprobe.c:597:28: warning: passing 'const char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  597 |     avio_write(wctx->avio, str, strlen(str));
      |                            ^~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavformat.framework/Headers/avio.h:435:54: note: passing argument to parameter 'buf' here
  435 | void avio_write(AVIOContext *s, const unsigned char *buf, int size);
      |                                                      ^
/Users/admin/builder/spi-builder-workspace/Sources/ffprobe/ffprobe.c:682:24: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression 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]
  682 |         const uint8_t *p = (*wctx)->string_validation_replacement;
      |                        ^   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffprobe/ffprobe.c:683:42: warning: passing 'const uint8_t *' (aka 'const 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]
  683 |         const uint8_t *endp = p + strlen(p);
      |                                          ^
/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/usr/include/_string.h:82:28: note: passing argument to parameter '__s' here
   82 | size_t   strlen(const char *__s);
      |                             ^
/Users/admin/builder/spi-builder-workspace/Sources/ffprobe/ffprobe.c:791:10: warning: assigning to 'const uint8_t *' (aka '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]
  791 |     endp = src + strlen(src);
      |          ^ ~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffprobe/ffprobe.c:797:28: warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int32_t *' (aka 'int *') converts between pointers to integer types with different sign [-Wpointer-sign]
  797 |         if (av_utf8_decode(&code, &p, endp, wctx->string_validation_utf8_flags) < 0) {
      |                            ^~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/avstring.h:408:29: note: passing argument to parameter 'codep' here
  408 | int av_utf8_decode(int32_t *codep, const uint8_t **bufp, const uint8_t *buf_end,
      |                             ^
/Users/admin/builder/spi-builder-workspace/Sources/ffprobe/ffprobe.c:824:44: warning: passing 'const uint8_t *' (aka 'const 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]
  824 |             av_bprint_append_data(&dstbuf, p0, p-p0);
      |                                            ^~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/bprint.h:179:55: note: passing argument to parameter 'data' here
  179 | void av_bprint_append_data(AVBPrint *buf, const char *data, unsigned size);
      |                                                       ^
/Users/admin/builder/spi-builder-workspace/Sources/ffprobe/ffprobe.c:953:29: warning: passing 'char *' to parameter 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]
  953 |     av_hash_final_hex(hash, p, buf + sizeof(buf) - p);
      |                             ^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/hash.h:232:60: note: passing argument to parameter 'dst' here
  232 | void av_hash_final_hex(struct AVHashContext *ctx, uint8_t *dst, int size);
      |                                                            ^
/Users/admin/builder/spi-builder-workspace/Sources/ffprobe/ffprobe.c:1504:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
 1504 |     while (c = src[i++]) {
      |            ~~^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffprobe/ffprobe.c:1504:14: note: place parentheses around the assignment to silence this warning
 1504 |     while (c = src[i++]) {
      |              ^
      |            (           )
/Users/admin/builder/spi-builder-workspace/Sources/ffprobe/ffprobe.c:1504:14: note: use '==' to turn this assignment into an equality comparison
 1504 |     while (c = src[i++]) {
      |              ^
      |              ==
/Users/admin/builder/spi-builder-workspace/Sources/ffprobe/ffprobe.c:2104:25: warning: enumeration value 'AV_DOVI_NLQ_NONE' not handled in switch [-Wswitch]
 2104 |                 switch (mapping->nlq_method_idc) {
      |                         ^~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffprobe/ffprobe.c:2104:25: note: add missing switch cases
 2104 |                 switch (mapping->nlq_method_idc) {
      |                         ^
 2105 |                 case AV_DOVI_NLQ_LINEAR_DZ:
/Users/admin/builder/spi-builder-workspace/Sources/ffprobe/ffprobe.c:2433:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
 2433 |     while (opt = av_opt_next(priv_data, opt)) {
      |            ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffprobe/ffprobe.c:2433:16: note: place parentheses around the assignment to silence this warning
 2433 |     while (opt = av_opt_next(priv_data, opt)) {
      |                ^
      |            (                                )
/Users/admin/builder/spi-builder-workspace/Sources/ffprobe/ffprobe.c:2433:16: note: use '==' to turn this assignment into an equality comparison
 2433 |     while (opt = av_opt_next(priv_data, opt)) {
      |                ^
      |                ==
/Users/admin/builder/spi-builder-workspace/Sources/ffprobe/ffprobe.c:2437:34: 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]
 2437 |             print_str(opt->name, str);
      |                                  ^~~
/Users/admin/builder/spi-builder-workspace/Sources/ffprobe/ffprobe.c:1959:59: note: expanded from macro 'print_str'
 1959 | #define print_str(k, v)         writer_print_string(w, k, v, 0)
      |                                                           ^
/Users/admin/builder/spi-builder-workspace/Sources/ffprobe/ffprobe.c:842:68: note: passing argument to parameter 'val' here
  842 |                                       const char *key, const char *val, int flags)
      |                                                                    ^
/Users/admin/builder/spi-builder-workspace/Sources/ffprobe/ffprobe.c:2742:13: warning: 5 enumeration values not handled in switch: 'AVMEDIA_TYPE_UNKNOWN', 'AVMEDIA_TYPE_DATA', 'AVMEDIA_TYPE_SUBTITLE'... [-Wswitch]
 2742 |     switch (stream->codecpar->codec_type) {
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffprobe/ffprobe.c:2742:13: note: add missing switch cases
 2742 |     switch (stream->codecpar->codec_type) {
      |             ^
 2743 |         AVRational sar;
 2744 |
 2745 |     case AVMEDIA_TYPE_VIDEO:
/Users/admin/builder/spi-builder-workspace/Sources/ffprobe/ffprobe.c:2860:13: warning: add explicit braces to avoid dangling else [-Wdangling-else]
 2860 |             else
      |             ^
/Users/admin/builder/spi-builder-workspace/Sources/ffprobe/ffprobe.c:3056:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
 3056 |     if (cd = avcodec_descriptor_get(par->codec_id)) {
      |         ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffprobe/ffprobe.c:3056:12: note: place parentheses around the assignment to silence this warning
 3056 |     if (cd = avcodec_descriptor_get(par->codec_id)) {
      |            ^
      |         (                                         )
/Users/admin/builder/spi-builder-workspace/Sources/ffprobe/ffprobe.c:3056:12: note: use '==' to turn this assignment into an equality comparison
 3056 |     if (cd = avcodec_descriptor_get(par->codec_id)) {
      |            ^
      |            ==
/Users/admin/builder/spi-builder-workspace/Sources/ffprobe/ffprobe.c:3088:13: warning: 4 enumeration values not handled in switch: 'AVMEDIA_TYPE_UNKNOWN', 'AVMEDIA_TYPE_DATA', 'AVMEDIA_TYPE_ATTACHMENT'... [-Wswitch]
 3088 |     switch (par->codec_type) {
      |             ^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffprobe/ffprobe.c:3088:13: note: add missing switch cases
 3088 |     switch (par->codec_type) {
      |             ^
 3089 |     case AVMEDIA_TYPE_VIDEO:
/Users/admin/builder/spi-builder-workspace/Sources/ffprobe/ffprobe.c:3625:32: warning: ambiguous expansion of macro 'FFMPEG_CONFIGURATION' [-Wambiguous-macro]
 3625 |     print_str("configuration", 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/ffprobe/ffprobe.c:3652:5: warning: ambiguous expansion of macro 'CONFIG_AVDEVICE' [-Wambiguous-macro]
 3652 |     SHOW_LIB_VERSION(avdevice,   AVDEVICE);
      |     ^
/Users/admin/builder/spi-builder-workspace/Sources/ffprobe/ffprobe.c:3633:13: note: expanded from macro 'SHOW_LIB_VERSION'
 3633 |         if (CONFIG_##LIBNAME) {                                         \
      |             ^
<scratch space>:139:1: note: expanded from here
  139 | 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'
  617 | #define CONFIG_AVDEVICE 0
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/config.h:617:9: note: other definition of 'CONFIG_AVDEVICE'
  617 | #define CONFIG_AVDEVICE 1
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/ffprobe/ffprobe.c:3671:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
 3671 |     while (pixdesc = av_pix_fmt_desc_next(pixdesc)) {
      |            ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffprobe/ffprobe.c:3671:20: note: place parentheses around the assignment to silence this warning
 3671 |     while (pixdesc = av_pix_fmt_desc_next(pixdesc)) {
      |                    ^
      |            (                                      )
/Users/admin/builder/spi-builder-workspace/Sources/ffprobe/ffprobe.c:3671:20: note: use '==' to turn this assignment into an equality comparison
 3671 |     while (pixdesc = av_pix_fmt_desc_next(pixdesc)) {
      |                    ^
      |                    ==
/Users/admin/builder/spi-builder-workspace/Sources/ffprobe/ffprobe.c:4166:5: warning: ambiguous expansion of macro 'CONFIG_AVDEVICE' [-Wambiguous-macro]
 4166 | #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'
  617 | #define CONFIG_AVDEVICE 0
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/config.h:617:9: note: other definition of 'CONFIG_AVDEVICE'
  617 | #define CONFIG_AVDEVICE 1
      |         ^
21 warnings generated.
[39/55] Compiling ffprobe ffprobe.c
[40/55] Write Objects.LinkFileList
/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]
  784 |         snprintf(overhead, sizeof(overhead), "%f%%",
      |                  ^~~~~~~~
/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/usr/include/secure/_stdio.h:57:29: note: expanded from macro 'snprintf'
   57 |   __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
      |                             ^~~
1 warning generated.
[41/55] Compiling ffmpeg ffmpeg_mux.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]
  336 |     switch (par->codec_type) {
      |             ^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_demux.c:336:13: note: add missing switch cases
  336 |     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]
  899 |     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'
  918 |             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]
  922 |                 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
  922 |                 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
  922 |                 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]
 1068 |     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'
  918 |             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]
 1085 |         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'
  918 |             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]
 1086 |         MATCH_PER_STREAM_OPT(hwaccel_output_formats, str,
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1087 |                              hwaccel_output_format, ic, st);
      |                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:918:20: note: expanded from macro 'MATCH_PER_STREAM_OPT'
  918 |             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]
 1146 |         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'
  918 |             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]
 1167 |     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'
  918 |             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]
 1201 |         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'
  918 |             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]
 1229 |         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'
  918 |             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]
 1428 |             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
  165 | 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]
 1439 |                         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
  165 | 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]
 1443 |         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
  165 | 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]
 1446 |         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
  165 | 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:1448: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]
 1448 |     MATCH_PER_TYPE_OPT(codec_names, str,    video_codec_name, ic, "v");
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:934:20: note: expanded from macro 'MATCH_PER_TYPE_OPT'
  934 |             outvar = o->name[i].u.type;\
      |                    ^ ~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_demux.c:1449: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]
 1449 |     MATCH_PER_TYPE_OPT(codec_names, str,    audio_codec_name, ic, "a");
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:934:20: note: expanded from macro 'MATCH_PER_TYPE_OPT'
  934 |             outvar = o->name[i].u.type;\
      |                    ^ ~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_demux.c:1450: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]
 1450 |     MATCH_PER_TYPE_OPT(codec_names, str, subtitle_codec_name, ic, "s");
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:934:20: note: expanded from macro 'MATCH_PER_TYPE_OPT'
  934 |             outvar = o->name[i].u.type;\
      |                    ^ ~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_demux.c:1451: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]
 1451 |     MATCH_PER_TYPE_OPT(codec_names, str,     data_codec_name, ic, "d");
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:934:20: note: expanded from macro 'MATCH_PER_TYPE_OPT'
  934 |             outvar = o->name[i].u.type;\
      |                    ^ ~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_demux.c:1677:44: 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]
 1677 |                 ret = dump_attachment(ist, o->dump_attachment[i].u.str);
      |                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_demux.c:1283:58: note: passing argument to parameter 'filename' here
 1283 | static int dump_attachment(InputStream *ist, const char *filename)
      |                                                          ^
19 warnings generated.
[42/55] Compiling ffmpeg ffmpeg_demux.c
/Users/admin/builder/spi-builder-workspace/Sources/ffplay/ffplay.c:57:10: fatal error: 'SDL.h' file not found
   57 | #include <SDL.h>
      |          ^~~~~~~
1 error generated.
[43/55] Compiling ffplay ffplay.c
[43/55] Compiling ffmpeg ffmpeg.c
[43/55] Compiling ffmpeg ffmpeg_mux_init.c
[43/55] Compiling ffmpeg ffmpeg_opt.c
[43/55] Linking ffprobe
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
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
[0/1] Planning build
[1/1] Compiling plugin BuildFFmpeg
Building for debugging...
[1/27] Compiling fftools thread_queue.c
/Users/admin/builder/spi-builder-workspace/Sources/ffplay/ffplay.c:57:10: fatal error: 'SDL.h' file not found
   57 | #include <SDL.h>
      |          ^~~~~~~
1 error generated.
[2/27] Compiling ffplay ffplay.c
[2/27] Compiling fftools sync_queue.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]
  336 |     switch (par->codec_type) {
      |             ^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_demux.c:336:13: note: add missing switch cases
  336 |     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]
  899 |     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'
  918 |             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]
  922 |                 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
  922 |                 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
  922 |                 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]
 1068 |     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'
  918 |             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]
 1085 |         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'
  918 |             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]
 1086 |         MATCH_PER_STREAM_OPT(hwaccel_output_formats, str,
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1087 |                              hwaccel_output_format, ic, st);
      |                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:918:20: note: expanded from macro 'MATCH_PER_STREAM_OPT'
  918 |             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]
 1146 |         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'
  918 |             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]
 1167 |     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'
  918 |             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]
 1201 |         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'
  918 |             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]
 1229 |         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'
  918 |             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]
 1428 |             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
  165 | 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]
 1439 |                         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
  165 | 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]
 1443 |         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
  165 | 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]
 1446 |         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
  165 | 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:1448: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]
 1448 |     MATCH_PER_TYPE_OPT(codec_names, str,    video_codec_name, ic, "v");
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:934:20: note: expanded from macro 'MATCH_PER_TYPE_OPT'
  934 |             outvar = o->name[i].u.type;\
      |                    ^ ~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_demux.c:1449: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]
 1449 |     MATCH_PER_TYPE_OPT(codec_names, str,    audio_codec_name, ic, "a");
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:934:20: note: expanded from macro 'MATCH_PER_TYPE_OPT'
  934 |             outvar = o->name[i].u.type;\
      |                    ^ ~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_demux.c:1450: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]
 1450 |     MATCH_PER_TYPE_OPT(codec_names, str, subtitle_codec_name, ic, "s");
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:934:20: note: expanded from macro 'MATCH_PER_TYPE_OPT'
  934 |             outvar = o->name[i].u.type;\
      |                    ^ ~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_demux.c:1451: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]
 1451 |     MATCH_PER_TYPE_OPT(codec_names, str,     data_codec_name, ic, "d");
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:934:20: note: expanded from macro 'MATCH_PER_TYPE_OPT'
  934 |             outvar = o->name[i].u.type;\
      |                    ^ ~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_demux.c:1677:44: 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]
 1677 |                 ret = dump_attachment(ist, o->dump_attachment[i].u.str);
      |                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_demux.c:1283:58: note: passing argument to parameter 'filename' here
 1283 | static int dump_attachment(InputStream *ist, const char *filename)
      |                                                          ^
/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]
  301 |     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]
  304 |         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
  225 | 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]
  681 |     switch (ost->enc_ctx->codec_type) {
      |             ^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_filter.c:681:13: note: add missing switch cases
  681 |     switch (ost->enc_ctx->codec_type) {
      |             ^
  682 |     case AVMEDIA_TYPE_VIDEO:
/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]
  910 |         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]
  915 |         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]
  928 |         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]
  933 |         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]
 1016 |         int file_idx = strtol(ifp->linklabel, &p, 0);
      |                               ^~~~~~~~~~~~~~
/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/usr/include/_stdlib.h:167:26: note: passing argument to parameter '__str' here
  167 | long     strtol(const char *__str, char **__endptr, int __base);
      |                             ^
[2/27] Compiling ffmpeg ffmpeg_demux.c
[2/27] Compiling ffmpeg ffmpeg_filter.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]
  116 |     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'
  918 |             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]
  172 |                             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'
    8 | #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'
    8 | #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]
  297 |         { 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]
  299 |         { 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]
  302 |         { 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]
  303 |         { 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]
  304 |         { 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]
  305 |         { 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]
  306 |         { 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]
  307 |         { 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]
  308 |         { 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]
  309 |         { 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]
  310 |         { 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]
  335 |             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]
  450 |     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'
  918 |             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]
  451 |     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'
  918 |             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]
  599 |     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'
  918 |             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]
  605 |     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'
  918 |             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]
  616 |     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'
  918 |             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]
  637 |         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'
  918 |             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]
  646 |         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'
  918 |             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]
  658 |         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'
  918 |             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]
  667 |         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'
  918 |             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]
  677 |         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'
  918 |             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]
  686 |         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'
  918 |             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]
  736 |         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'
  918 |             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]
  790 |         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'
  918 |             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]
  855 |         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'
  918 |             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]
  876 |         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'
  918 |             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]
  885 |         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'
  918 |             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]
  948 |         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'
  918 |             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]
 1073 |     switch (par->codec_type) {
      |             ^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:1073:13: note: add missing switch cases
 1073 |     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]
 1220 |         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'
  918 |             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]
 1253 |         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'
  918 |             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]
 1258 |             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'
  918 |             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]
 1265 |         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'
  918 |             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]
 1270 |             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'
  918 |             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]
 1277 |         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'
  918 |             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]
 1282 |             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'
  918 |             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]
 1289 |         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'
  918 |             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]
 1330 |     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'
  918 |             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]
 1354 |     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'
  918 |             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]
 1363 |     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'
  918 |             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]
 1409 |     switch (type) {
      |             ^~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:1409:13: note: add missing switch cases
 1409 |     switch (type) {
      |             ^
 1410 |     case AVMEDIA_TYPE_VIDEO:      ret = new_stream_video     (mux, o, ost); break;
 1411 |     case AVMEDIA_TYPE_AUDIO:      ret = new_stream_audio     (mux, o, ost); break;
 1412 |     case AVMEDIA_TYPE_SUBTITLE:   ret = new_stream_subtitle  (mux, o, ost); break;
 1413 |     case AVMEDIA_TYPE_ATTACHMENT: ret = new_stream_attachment(mux, o, ost); break;
 1414 |     }
[2/27] Compiling ffmpeg ffmpeg_mux_init.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]
  158 |         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
  100 | 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]
  160 |         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
  100 | 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]
  161 |     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
  118 | 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]
  162 |     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
  165 | 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]
  504 |         switch (c->type) {
      |                 ^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_enc.c:504:17: note: add missing switch cases
  504 |         switch (c->type) {
      |                 ^
  505 |         case ENC_STATS_LITERAL:         avio_write (io, c->str,     c->str_len);                    continue;
  506 |         case ENC_STATS_FILE_IDX:        avio_printf(io, "%d",       ost->file_index);               continue;
  507 |         case ENC_STATS_STREAM_IDX:      avio_printf(io, "%d",       ost->index);                    continue;
  508 |         case ENC_STATS_TIMEBASE:        avio_printf(io, "%d/%d",    tb.num, tb.den);                continue;
  509 |         case ENC_STATS_TIMEBASE_IN:     avio_printf(io, "%d/%d",    tbi.num, tbi.den);              continue;
  510 |         case ENC_STATS_PTS:             avio_printf(io, "%"PRId64,  pts);                           continue;
  511 |         case ENC_STATS_PTS_IN:          avio_printf(io, "%"PRId64,  ptsi);                          continue;
  512 |         case ENC_STATS_PTS_TIME:        avio_printf(io, "%g",       pts * av_q2d(tb));              continue;
  513 |         case ENC_STATS_PTS_TIME_IN:     avio_printf(io, "%g",       ptsi == INT64_MAX ?
  514 |                                                                     INFINITY : ptsi * av_q2d(tbi)); continue;
  515 |         case ENC_STATS_FRAME_NUM:       avio_printf(io, "%"PRIu64,  frame_num);                     continue;
  516 |         case ENC_STATS_FRAME_NUM_IN:    avio_printf(io, "%"PRIu64,  fd ? fd->dec.frame_num : -1);   continue;
  517 |         }
[2/27] Compiling ffmpeg ffmpeg_enc.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]
   28 | #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'
  617 | #define CONFIG_AVDEVICE 0
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/config.h:617:9: note: other definition of 'CONFIG_AVDEVICE'
  617 | #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]
   42 | #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'
  617 | #define CONFIG_AVDEVICE 0
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/config.h:617:9: note: other definition of 'CONFIG_AVDEVICE'
  617 | #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]
  147 |     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
  147 |     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
  147 |     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]
  445 |     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]
  454 |     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]
  858 |                             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'
    7 | #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'
    7 | #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]
  940 |     switch (st->codecpar->codec_type) {
      |             ^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/fftools/cmdutils.c:940:13: note: add missing switch cases
  940 |     switch (st->codecpar->codec_type) {
      |             ^
  941 |     case AVMEDIA_TYPE_VIDEO:
  942 |         prefix  = 'v';
  943 |         flags  |= AV_OPT_FLAG_VIDEO_PARAM;
  944 |         break;
  945 |     case AVMEDIA_TYPE_AUDIO:
  946 |         prefix  = 'a';
  947 |         flags  |= AV_OPT_FLAG_AUDIO_PARAM;
  948 |         break;
  949 |     case AVMEDIA_TYPE_SUBTITLE:
  950 |         prefix  = 's';
  951 |         flags  |= AV_OPT_FLAG_SUBTITLE_PARAM;
  952 |         break;
  953 |     }
/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]
  955 |     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
  955 |     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
  955 |     while (t = av_dict_iterate(opts, t)) {
      |              ^
      |              ==
[2/27] Compiling fftools cmdutils.c
[2/27] Compiling ffmpeg ffmpeg_opt.c
[2/27] Compiling ffmpeg ffmpeg_hw.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]
  784 |         snprintf(overhead, sizeof(overhead), "%f%%",
      |                  ^~~~~~~~
/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/usr/include/secure/_stdio.h:57:29: note: expanded from macro 'snprintf'
   57 |   __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
      |                             ^~~
[2/27] Compiling ffmpeg ffmpeg_mux.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 6.0 macosSpm