Build Information
Failed to build FFmpegKit, reference main (d70480
), with Swift 5.9 for macOS (SPM) on 11 Feb 2025 16:56:24 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.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: 29% (1682/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: 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: 77% (4355/5625)
Updating files: 78% (4388/5625)
Updating files: 79% (4444/5625)
Updating files: 80% (4500/5625)
Updating files: 81% (4557/5625)
Updating files: 82% (4613/5625)
Updating files: 83% (4669/5625)
Updating files: 83% (4679/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
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.9
Building package at path: $PWD
https://github.com/kingslay/FFmpegKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
[1/1] Compiling plugin BuildFFmpeg
Building for debugging...
[1/46] Copying libMoltenVK.a
[2/46] Copying gmp.framework
[3/46] Copying Libswscale.framework
[4/46] Copying libzvbi.framework
[5/46] Copying Libavfilter.framework
[5/46] Copying Libswresample.framework
[5/46] Copying lcms2.framework
[8/46] Copying Libavformat.framework
[9/46] Copying libbluray.framework
[10/46] Copying libsrt.framework
[11/46] Copying gnutls.framework
[12/46] Copying libfontconfig.framework
[13/46] Copying libass.framework
[13/46] Copying libdav1d.framework
[15/46] Copying libfribidi.framework
[16/46] Copying Libavdevice.framework
[17/46] Copying libplacebo.framework
[18/46] Copying libharfbuzz.framework
[19/46] Copying Libavcodec.framework
[20/46] Copying libshaderc_combined.framework
[21/46] Copying nettle.framework
[22/46] Copying libfreetype.framework
[23/46] Copying libsmbclient.framework
[24/46] Copying hogweed.framework
[25/46] Copying Libavutil.framework
[26/46] Compiling fftools thread_queue.c
[27/46] Compiling fftools objpool.c
[28/46] Compiling fftools sync_queue.c
[29/46] Compiling ffmpeg ffmpeg_hw.c
In file included from /Users/admin/builder/spi-builder-workspace/Sources/fftools/cmdutils.c:52:
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/opt_common.h:28:5: warning: ambiguous expansion of macro 'CONFIG_AVDEVICE' [-Wambiguous-macro]
#if CONFIG_AVDEVICE
^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:617:9: note: expanding this definition of 'CONFIG_AVDEVICE'
#define CONFIG_AVDEVICE 0
^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/config.h:617:9: note: other definition of 'CONFIG_AVDEVICE'
#define CONFIG_AVDEVICE 1
^
In file included from /Users/admin/builder/spi-builder-workspace/Sources/fftools/cmdutils.c:52:
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/opt_common.h:42:5: warning: ambiguous expansion of macro 'CONFIG_AVDEVICE' [-Wambiguous-macro]
#if CONFIG_AVDEVICE
^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:617:9: note: expanding this definition of 'CONFIG_AVDEVICE'
#define CONFIG_AVDEVICE 0
^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/config.h:617:9: note: other definition of 'CONFIG_AVDEVICE'
#define CONFIG_AVDEVICE 1
^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/cmdutils.c:147:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while (child = av_opt_child_class_iterate(class, &iter))
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/fftools/cmdutils.c:147:18: note: place parentheses around the assignment to silence this warning
while (child = av_opt_child_class_iterate(class, &iter))
^
( )
/Users/admin/builder/spi-builder-workspace/Sources/fftools/cmdutils.c:147:18: note: use '==' to turn this assignment into an equality comparison
while (child = av_opt_child_class_iterate(class, &iter))
^
==
/Users/admin/builder/spi-builder-workspace/Sources/fftools/cmdutils.c:445:12: warning: assigning to 'const unsigned char *' from 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
for (p = a; *p; p++)
^ ~
/Users/admin/builder/spi-builder-workspace/Sources/fftools/cmdutils.c:454:12: warning: assigning to 'const unsigned char *' from 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
for (p = a; *p; p++) {
^ ~
/Users/admin/builder/spi-builder-workspace/Sources/fftools/cmdutils.c:858:29: warning: ambiguous expansion of macro 'FFMPEG_DATADIR' [-Wambiguous-macro]
FFMPEG_DATADIR, };
^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:7:9: note: expanding this definition of 'FFMPEG_DATADIR'
#define FFMPEG_DATADIR "/Users/kintan/Documents/Github/TracyPlayer/KSPlayer/FFmpegKit/.Script/FFmpeg/macos/thin/x86_64/share/ffmpeg"
^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/config.h:7:9: note: other definition of 'FFMPEG_DATADIR'
#define FFMPEG_DATADIR "/Users/kintan/Documents/Github/TracyPlayer/Modules/KSPlayer/FFmpegKit/.Script/FFmpeg/macos/thin/x86_64/share/ffmpeg"
^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/cmdutils.c:940:13: warning: 4 enumeration values not handled in switch: 'AVMEDIA_TYPE_UNKNOWN', 'AVMEDIA_TYPE_DATA', 'AVMEDIA_TYPE_ATTACHMENT'... [-Wswitch]
switch (st->codecpar->codec_type) {
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/fftools/cmdutils.c:940:13: note: add missing switch cases
switch (st->codecpar->codec_type) {
^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/cmdutils.c:955:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while (t = av_dict_iterate(opts, t)) {
~~^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/fftools/cmdutils.c:955:14: note: place parentheses around the assignment to silence this warning
while (t = av_dict_iterate(opts, t)) {
^
( )
/Users/admin/builder/spi-builder-workspace/Sources/fftools/cmdutils.c:955:14: note: use '==' to turn this assignment into an equality comparison
while (t = av_dict_iterate(opts, t)) {
^
==
8 warnings generated.
[30/46] Compiling fftools cmdutils.c
While building module 'fftools' imported from /Users/admin/builder/spi-builder-workspace/Sources/ffplay/ffplay.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]
#if CONFIG_AVDEVICE
^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:617:9: note: expanding this definition of 'CONFIG_AVDEVICE'
#define CONFIG_AVDEVICE 0
^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/config.h:617:9: note: other definition of 'CONFIG_AVDEVICE'
#define CONFIG_AVDEVICE 1
^
While building module 'fftools' imported from /Users/admin/builder/spi-builder-workspace/Sources/ffplay/ffplay.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]
#if CONFIG_AVDEVICE
^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:617:9: note: expanding this definition of 'CONFIG_AVDEVICE'
#define CONFIG_AVDEVICE 0
^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/config.h:617:9: note: other definition of 'CONFIG_AVDEVICE'
#define CONFIG_AVDEVICE 1
^
/Users/admin/builder/spi-builder-workspace/Sources/ffplay/ffplay.c:57:10: fatal error: 'SDL.h' file not found
#include <SDL.h>
^~~~~~~
2 warnings and 1 error generated.
[31/46] Compiling ffplay ffplay.c
[31/46] Compiling ffmpeg ffmpeg_opt.c
[31/46] Compiling ffmpeg ffmpeg_dec.c
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux.c:784:18: warning: passing 'uint8_t[16]' (aka 'unsigned char[16]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
snprintf(overhead, sizeof(overhead), "%f%%",
^~~~~~~~
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/secure/_stdio.h:57:29: note: expanded from macro 'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
^~~
[31/46] Compiling ffmpeg ffmpeg_mux.c
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_enc.c:158:20: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
av_strlcpy(encoder_string, LIBAVCODEC_IDENT " ", encoder_string_len);
^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/avstring.h:100:25: note: passing argument to parameter 'dst' here
size_t av_strlcpy(char *dst, const char *src, size_t size);
^
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_enc.c:160:20: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
av_strlcpy(encoder_string, "Lavc ", encoder_string_len);
^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/avstring.h:100:25: note: passing argument to parameter 'dst' here
size_t av_strlcpy(char *dst, const char *src, size_t size);
^
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_enc.c:161:16: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
av_strlcat(encoder_string, cname, encoder_string_len);
^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/avstring.h:118:25: note: passing argument to parameter 'dst' here
size_t av_strlcat(char *dst, const char *src, size_t size);
^
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_enc.c:162:49: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
av_dict_set(&ost->st->metadata, "encoder", encoder_string,
^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/dict.h:165:65: note: passing argument to parameter 'value' here
int av_dict_set(AVDictionary **pm, const char *key, const char *value, int flags);
^
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_enc.c:504:17: warning: 7 enumeration values not handled in switch: 'ENC_STATS_DTS', 'ENC_STATS_DTS_TIME', 'ENC_STATS_SAMPLE_NUM'... [-Wswitch]
switch (c->type) {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_enc.c:504:17: note: add missing switch cases
switch (c->type) {
^
[31/46] Compiling ffmpeg ffmpeg_enc.c
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:116:5: warning: assigning to 'char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
MATCH_PER_STREAM_OPT(codec_names, str, codec_name, s, ost->st);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:918:20: note: expanded from macro 'MATCH_PER_STREAM_OPT'
outvar = o->name[_i].u.type;\
^ ~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:172:29: warning: ambiguous expansion of macro 'AVCONV_DATADIR' [-Wambiguous-macro]
AVCONV_DATADIR,
^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:8:9: note: expanding this definition of 'AVCONV_DATADIR'
#define AVCONV_DATADIR "/Users/kintan/Documents/Github/TracyPlayer/KSPlayer/FFmpegKit/.Script/FFmpeg/macos/thin/x86_64/share/ffmpeg"
^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/config.h:8:9: note: other definition of 'AVCONV_DATADIR'
#define AVCONV_DATADIR "/Users/kintan/Documents/Github/TracyPlayer/Modules/KSPlayer/FFmpegKit/.Script/FFmpeg/macos/thin/x86_64/share/ffmpeg"
^
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:297:55: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion]
{ ENC_STATS_FRAME_NUM_IN, "ni", 0, 0, 1 },
^
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:299:55: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion]
{ ENC_STATS_TIMEBASE_IN, "tbi", 0, 0, 1 },
^
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:302:55: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion]
{ ENC_STATS_PTS_IN, "ptsi", 0, 0, 1 },
^
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:303:55: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion]
{ ENC_STATS_PTS_TIME_IN, "ti", 0, 0, 1 },
^
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:304:52: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion]
{ ENC_STATS_DTS, "dts", 0, 1 },
^
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:305:52: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion]
{ ENC_STATS_DTS_TIME, "dt", 0, 1 },
^
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:306:49: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion]
{ ENC_STATS_SAMPLE_NUM, "sn", 1 },
^
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:307:49: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion]
{ ENC_STATS_NB_SAMPLES, "samp", 1 },
^
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:308:52: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion]
{ ENC_STATS_PKT_SIZE, "size", 0, 1 },
^
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:309:52: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion]
{ ENC_STATS_BITRATE, "br", 0, 1 },
^
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:310:52: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion]
{ ENC_STATS_AVG_BITRATE, "abr", 0, 1 },
^
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:335:24: warning: assigning to 'uint8_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
c->str = val;
^ ~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:450:5: warning: assigning to 'const char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
MATCH_PER_STREAM_OPT(filter_scripts, str, filters_script, oc, ost->st);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:918:20: note: expanded from macro 'MATCH_PER_STREAM_OPT'
outvar = o->name[_i].u.type;\
^ ~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:451:5: warning: assigning to 'const char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
MATCH_PER_STREAM_OPT(filters, str, filters, oc, ost->st);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:918:20: note: expanded from macro 'MATCH_PER_STREAM_OPT'
outvar = o->name[_i].u.type;\
^ ~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:599:5: warning: assigning to 'char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
MATCH_PER_STREAM_OPT(frame_rates, str, frame_rate, oc, st);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:918:20: note: expanded from macro 'MATCH_PER_STREAM_OPT'
outvar = o->name[_i].u.type;\
^ ~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:605:5: warning: assigning to 'char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
MATCH_PER_STREAM_OPT(max_frame_rates, str, max_frame_rate, oc, st);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:918:20: note: expanded from macro 'MATCH_PER_STREAM_OPT'
outvar = o->name[_i].u.type;\
^ ~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:616:5: warning: assigning to 'char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
MATCH_PER_STREAM_OPT(frame_aspect_ratios, str, frame_aspect_ratio, oc, st);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:918:20: note: expanded from macro 'MATCH_PER_STREAM_OPT'
outvar = o->name[_i].u.type;\
^ ~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:637:9: warning: assigning to 'char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
MATCH_PER_STREAM_OPT(frame_sizes, str, frame_size, oc, st);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:918:20: note: expanded from macro 'MATCH_PER_STREAM_OPT'
outvar = o->name[_i].u.type;\
^ ~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:646:9: warning: assigning to 'char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
MATCH_PER_STREAM_OPT(frame_pix_fmts, str, frame_pix_fmt, oc, st);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:918:20: note: expanded from macro 'MATCH_PER_STREAM_OPT'
outvar = o->name[_i].u.type;\
^ ~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:658:9: warning: assigning to 'char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
MATCH_PER_STREAM_OPT(intra_matrices, str, intra_matrix, oc, st);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:918:20: note: expanded from macro 'MATCH_PER_STREAM_OPT'
outvar = o->name[_i].u.type;\
^ ~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:667:9: warning: assigning to 'char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
MATCH_PER_STREAM_OPT(chroma_intra_matrices, str, chroma_intra_matrix, oc, st);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:918:20: note: expanded from macro 'MATCH_PER_STREAM_OPT'
outvar = o->name[_i].u.type;\
^ ~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:677:9: warning: assigning to 'char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
MATCH_PER_STREAM_OPT(inter_matrices, str, inter_matrix, oc, st);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:918:20: note: expanded from macro 'MATCH_PER_STREAM_OPT'
outvar = o->name[_i].u.type;\
^ ~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:686:9: warning: assigning to 'const char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
MATCH_PER_STREAM_OPT(rc_overrides, str, p, oc, st);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:918:20: note: expanded from macro 'MATCH_PER_STREAM_OPT'
outvar = o->name[_i].u.type;\
^ ~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:736:9: warning: assigning to 'char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
MATCH_PER_STREAM_OPT(passlogfiles, str, ost->logfile_prefix, oc, st);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:918:20: note: expanded from macro 'MATCH_PER_STREAM_OPT'
outvar = o->name[_i].u.type;\
^ ~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:790:9: warning: assigning to 'const char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
MATCH_PER_STREAM_OPT(fps_mode, str, fps_mode, oc, st);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:918:20: note: expanded from macro 'MATCH_PER_STREAM_OPT'
outvar = o->name[_i].u.type;\
^ ~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:855:9: warning: assigning to 'char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
MATCH_PER_STREAM_OPT(audio_ch_layouts, str, layout, oc, st);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:918:20: note: expanded from macro 'MATCH_PER_STREAM_OPT'
outvar = o->name[_i].u.type;\
^ ~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:876:9: warning: assigning to 'char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
MATCH_PER_STREAM_OPT(sample_fmts, str, sample_fmt, oc, st);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:918:20: note: expanded from macro 'MATCH_PER_STREAM_OPT'
outvar = o->name[_i].u.type;\
^ ~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:885:9: warning: assigning to 'char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
MATCH_PER_STREAM_OPT(apad, str, ost->apad, oc, st);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:918:20: note: expanded from macro 'MATCH_PER_STREAM_OPT'
outvar = o->name[_i].u.type;\
^ ~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:948:9: warning: assigning to 'char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
MATCH_PER_STREAM_OPT(frame_sizes, str, frame_size, mux->fc, st);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:918:20: note: expanded from macro 'MATCH_PER_STREAM_OPT'
outvar = o->name[_i].u.type;\
^ ~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:1073:13: warning: 5 enumeration values not handled in switch: 'AVMEDIA_TYPE_UNKNOWN', 'AVMEDIA_TYPE_DATA', 'AVMEDIA_TYPE_SUBTITLE'... [-Wswitch]
switch (par->codec_type) {
^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:1073:13: note: add missing switch cases
switch (par->codec_type) {
^
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:1220:9: warning: assigning to 'char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
MATCH_PER_STREAM_OPT(presets, str, preset, oc, st);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:918:20: note: expanded from macro 'MATCH_PER_STREAM_OPT'
outvar = o->name[_i].u.type;\
^ ~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:1253:9: warning: assigning to 'const char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
MATCH_PER_STREAM_OPT(enc_stats_pre, str, enc_stats_pre, oc, st);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:918:20: note: expanded from macro 'MATCH_PER_STREAM_OPT'
outvar = o->name[_i].u.type;\
^ ~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:1258:13: warning: assigning to 'const char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
MATCH_PER_STREAM_OPT(enc_stats_pre_fmt, str, format, oc, st);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:918:20: note: expanded from macro 'MATCH_PER_STREAM_OPT'
outvar = o->name[_i].u.type;\
^ ~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:1265:9: warning: assigning to 'const char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
MATCH_PER_STREAM_OPT(enc_stats_post, str, enc_stats_post, oc, st);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:918:20: note: expanded from macro 'MATCH_PER_STREAM_OPT'
outvar = o->name[_i].u.type;\
^ ~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:1270:13: warning: assigning to 'const char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
MATCH_PER_STREAM_OPT(enc_stats_post_fmt, str, format, oc, st);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:918:20: note: expanded from macro 'MATCH_PER_STREAM_OPT'
outvar = o->name[_i].u.type;\
^ ~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:1277:9: warning: assigning to 'const char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
MATCH_PER_STREAM_OPT(mux_stats, str, mux_stats, oc, st);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:918:20: note: expanded from macro 'MATCH_PER_STREAM_OPT'
outvar = o->name[_i].u.type;\
^ ~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:1282:13: warning: assigning to 'const char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
MATCH_PER_STREAM_OPT(mux_stats_fmt, str, format, oc, st);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:918:20: note: expanded from macro 'MATCH_PER_STREAM_OPT'
outvar = o->name[_i].u.type;\
^ ~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:1289:9: warning: assigning to 'const char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
MATCH_PER_STREAM_OPT(enc_time_bases, str, enc_time_base, oc, st);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:918:20: note: expanded from macro 'MATCH_PER_STREAM_OPT'
outvar = o->name[_i].u.type;\
^ ~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:1330:5: warning: assigning to 'const char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
MATCH_PER_STREAM_OPT(time_bases, str, time_base, oc, st);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:918:20: note: expanded from macro 'MATCH_PER_STREAM_OPT'
outvar = o->name[_i].u.type;\
^ ~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:1354:5: warning: assigning to 'const char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
MATCH_PER_STREAM_OPT(bitstream_filters, str, bsfs, oc, st);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:918:20: note: expanded from macro 'MATCH_PER_STREAM_OPT'
outvar = o->name[_i].u.type;\
^ ~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:1363:5: warning: assigning to 'char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
MATCH_PER_STREAM_OPT(codec_tags, str, codec_tag, oc, st);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:918:20: note: expanded from macro 'MATCH_PER_STREAM_OPT'
outvar = o->name[_i].u.type;\
^ ~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:1409:13: warning: enumeration values 'AVMEDIA_TYPE_UNKNOWN', 'AVMEDIA_TYPE_DATA', and 'AVMEDIA_TYPE_NB' not handled in switch [-Wswitch]
switch (type) {
^~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:1409:13: note: add missing switch cases
switch (type) {
^
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:1569:5: warning: assigning to 'char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
MATCH_PER_TYPE_OPT(codec_names, str, subtitle_codec_name, oc, "s");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:934:20: note: expanded from macro 'MATCH_PER_TYPE_OPT'
outvar = o->name[i].u.type;\
^ ~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux_init.c:1641:29: warning: initializing 'const char *' with an expression of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
const char *linklabel = fg->outputs[k]->linklabel;
^ ~~~~~~~~~~~~~~~~~~~~~~~~~
[31/46] Compiling ffmpeg ffmpeg_mux_init.c
/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]
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
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]
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]
const uint8_t *endp = p + strlen(p);
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
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]
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]
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
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]
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
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]
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
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]
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
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
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]
switch (mapping->nlq_method_idc) {
^~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffprobe/ffprobe.c:2104:25: note: add missing switch cases
switch (mapping->nlq_method_idc) {
^
/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]
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
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
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]
print_str(opt->name, str);
^~~
/Users/admin/builder/spi-builder-workspace/Sources/ffprobe/ffprobe.c:1959:59: note: expanded from macro 'print_str'
#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
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]
switch (stream->codecpar->codec_type) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffprobe/ffprobe.c:2742:13: note: add missing switch cases
switch (stream->codecpar->codec_type) {
^
/Users/admin/builder/spi-builder-workspace/Sources/ffprobe/ffprobe.c:2860:13: warning: add explicit braces to avoid dangling else [-Wdangling-else]
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]
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
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
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]
switch (par->codec_type) {
^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffprobe/ffprobe.c:3088:13: note: add missing switch cases
switch (par->codec_type) {
^
/Users/admin/builder/spi-builder-workspace/Sources/ffprobe/ffprobe.c:3625:32: warning: ambiguous expansion of macro 'FFMPEG_CONFIGURATION' [-Wambiguous-macro]
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]
SHOW_LIB_VERSION(avdevice, AVDEVICE);
^
/Users/admin/builder/spi-builder-workspace/Sources/ffprobe/ffprobe.c:3633:13: note: expanded from macro 'SHOW_LIB_VERSION'
if (CONFIG_##LIBNAME) { \
^
<scratch space>:139:1: note: expanded from here
CONFIG_AVDEVICE
^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:617:9: note: expanding this definition of 'CONFIG_AVDEVICE'
#define CONFIG_AVDEVICE 0
^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/config.h:617:9: note: other definition of 'CONFIG_AVDEVICE'
#define CONFIG_AVDEVICE 1
^
/Users/admin/builder/spi-builder-workspace/Sources/ffprobe/ffprobe.c:3671:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
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
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
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]
#if CONFIG_AVDEVICE
^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:617:9: note: expanding this definition of 'CONFIG_AVDEVICE'
#define CONFIG_AVDEVICE 0
^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/config.h:617:9: note: other definition of 'CONFIG_AVDEVICE'
#define CONFIG_AVDEVICE 1
^
[31/46] Compiling ffprobe ffprobe.c
[31/46] Compiling ffmpeg ffmpeg_demux.c
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_filter.c:301:18: warning: assigning to 'int8_t *' (aka 'signed char *') from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
dst = frame->data [0];
^ ~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_filter.c:304:29: warning: passing 'int8_t *' (aka 'signed char *') to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
sub2video_copy_rect(dst, dst_linesize, frame->width, frame->height, sub->rects[i]);
^~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_filter.c:225:42: note: passing argument to parameter 'dst' here
static void sub2video_copy_rect(uint8_t *dst, int dst_linesize, int w, int h,
^
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_filter.c:681:13: warning: 5 enumeration values not handled in switch: 'AVMEDIA_TYPE_UNKNOWN', 'AVMEDIA_TYPE_DATA', 'AVMEDIA_TYPE_SUBTITLE'... [-Wswitch]
switch (ost->enc_ctx->codec_type) {
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_filter.c:681:13: note: add missing switch cases
switch (ost->enc_ctx->codec_type) {
^
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_filter.c:910:24: warning: assigning to 'uint8_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
ifp->linklabel = cur->name;
^ ~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_filter.c:915:24: warning: assigning to 'uint8_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
ifilter->name = describe_filter_link(fg, cur, 1);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_filter.c:928:28: warning: assigning to 'uint8_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
ofilter->linklabel = cur->name;
^ ~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_filter.c:933:28: warning: assigning to 'uint8_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
ofilter->name = describe_filter_link(fg, cur, 0);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_filter.c:1016:31: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
int file_idx = strtol(ifp->linklabel, &p, 0);
^~~~~~~~~~~~~~
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/stdlib.h:167:26: note: passing argument to parameter '__str' here
long strtol(const char *__str, char **__endptr, int __base);
^
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_filter.c:2365:13: warning: 5 enumeration values not handled in switch: 'AVMEDIA_TYPE_UNKNOWN', 'AVMEDIA_TYPE_DATA', 'AVMEDIA_TYPE_SUBTITLE'... [-Wswitch]
switch (ifp->type) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_filter.c:2365:13: note: add missing switch cases
switch (ifp->type) {
^
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_filter.c:2383:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if (sd = av_frame_get_side_data(frame, AV_FRAME_DATA_DISPLAYMATRIX)) {
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_filter.c:2383:12: note: place parentheses around the assignment to silence this warning
if (sd = av_frame_get_side_data(frame, AV_FRAME_DATA_DISPLAYMATRIX)) {
^
( )
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_filter.c:2383:12: note: use '==' to turn this assignment into an equality comparison
if (sd = av_frame_get_side_data(frame, AV_FRAME_DATA_DISPLAYMATRIX)) {
^
==
[31/46] Compiling ffmpeg ffmpeg_filter.c
In file included from /Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:26:
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/opt_common.h:28:5: warning: ambiguous expansion of macro 'CONFIG_AVDEVICE' [-Wambiguous-macro]
#if CONFIG_AVDEVICE
^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:617:9: note: expanding this definition of 'CONFIG_AVDEVICE'
#define CONFIG_AVDEVICE 0
^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/config.h:617:9: note: other definition of 'CONFIG_AVDEVICE'
#define CONFIG_AVDEVICE 1
^
In file included from /Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:26:
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/opt_common.h:42:5: warning: ambiguous expansion of macro 'CONFIG_AVDEVICE' [-Wambiguous-macro]
#if CONFIG_AVDEVICE
^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:617:9: note: expanding this definition of 'CONFIG_AVDEVICE'
#define CONFIG_AVDEVICE 0
^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/config.h:617:9: note: other definition of 'CONFIG_AVDEVICE'
#define CONFIG_AVDEVICE 1
^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:82:7: warning: ambiguous expansion of macro 'CONFIG_GPLV3' [-Wambiguous-macro]
#elif CONFIG_GPLV3
^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:690:9: note: expanding this definition of 'CONFIG_GPLV3'
#define CONFIG_GPLV3 1
^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/config.h:690:9: note: other definition of 'CONFIG_GPLV3'
#define CONFIG_GPLV3 0
^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:187:5: warning: ambiguous expansion of macro 'FFMPEG_CONFIGURATION' [-Wambiguous-macro]
PRINT_LIB_INFO(avutil, AVUTIL, flags, level);
^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:172:24: note: expanded from macro 'PRINT_LIB_INFO'
if (strcmp(FFMPEG_CONFIGURATION, cfg)) { \
^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:4:9: note: expanding this definition of 'FFMPEG_CONFIGURATION'
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/config.h:4:9: note: other definition of 'FFMPEG_CONFIGURATION'
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:188:5: warning: ambiguous expansion of macro 'FFMPEG_CONFIGURATION' [-Wambiguous-macro]
PRINT_LIB_INFO(avcodec, AVCODEC, flags, level);
^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:172:24: note: expanded from macro 'PRINT_LIB_INFO'
if (strcmp(FFMPEG_CONFIGURATION, cfg)) { \
^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:4:9: note: expanding this definition of 'FFMPEG_CONFIGURATION'
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/config.h:4:9: note: other definition of 'FFMPEG_CONFIGURATION'
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:189:5: warning: ambiguous expansion of macro 'FFMPEG_CONFIGURATION' [-Wambiguous-macro]
PRINT_LIB_INFO(avformat, AVFORMAT, flags, level);
^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:172:24: note: expanded from macro 'PRINT_LIB_INFO'
if (strcmp(FFMPEG_CONFIGURATION, cfg)) { \
^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:4:9: note: expanding this definition of 'FFMPEG_CONFIGURATION'
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/config.h:4:9: note: other definition of 'FFMPEG_CONFIGURATION'
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:190:5: warning: ambiguous expansion of macro 'CONFIG_AVDEVICE' [-Wambiguous-macro]
PRINT_LIB_INFO(avdevice, AVDEVICE, flags, level);
^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:157:9: note: expanded from macro 'PRINT_LIB_INFO'
if (CONFIG_##LIBNAME) { \
^
<scratch space>:37:1: note: expanded from here
CONFIG_AVDEVICE
^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:617:9: note: expanding this definition of 'CONFIG_AVDEVICE'
#define CONFIG_AVDEVICE 0
^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/config.h:617:9: note: other definition of 'CONFIG_AVDEVICE'
#define CONFIG_AVDEVICE 1
^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:190:5: warning: ambiguous expansion of macro 'FFMPEG_CONFIGURATION' [-Wambiguous-macro]
PRINT_LIB_INFO(avdevice, AVDEVICE, flags, level);
^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:172:24: note: expanded from macro 'PRINT_LIB_INFO'
if (strcmp(FFMPEG_CONFIGURATION, cfg)) { \
^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:4:9: note: expanding this definition of 'FFMPEG_CONFIGURATION'
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/config.h:4:9: note: other definition of 'FFMPEG_CONFIGURATION'
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:191:5: warning: ambiguous expansion of macro 'FFMPEG_CONFIGURATION' [-Wambiguous-macro]
PRINT_LIB_INFO(avfilter, AVFILTER, flags, level);
^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:172:24: note: expanded from macro 'PRINT_LIB_INFO'
if (strcmp(FFMPEG_CONFIGURATION, cfg)) { \
^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:4:9: note: expanding this definition of 'FFMPEG_CONFIGURATION'
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/config.h:4:9: note: other definition of 'FFMPEG_CONFIGURATION'
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:192:5: warning: ambiguous expansion of macro 'FFMPEG_CONFIGURATION' [-Wambiguous-macro]
PRINT_LIB_INFO(swscale, SWSCALE, flags, level);
^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:172:24: note: expanded from macro 'PRINT_LIB_INFO'
if (strcmp(FFMPEG_CONFIGURATION, cfg)) { \
^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:4:9: note: expanding this definition of 'FFMPEG_CONFIGURATION'
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/config.h:4:9: note: other definition of 'FFMPEG_CONFIGURATION'
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:193:5: warning: ambiguous expansion of macro 'FFMPEG_CONFIGURATION' [-Wambiguous-macro]
PRINT_LIB_INFO(swresample, SWRESAMPLE, flags, level);
^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:172:24: note: expanded from macro 'PRINT_LIB_INFO'
if (strcmp(FFMPEG_CONFIGURATION, cfg)) { \
^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:4:9: note: expanding this definition of 'FFMPEG_CONFIGURATION'
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/config.h:4:9: note: other definition of 'FFMPEG_CONFIGURATION'
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:194:5: warning: ambiguous expansion of macro 'FFMPEG_CONFIGURATION' [-Wambiguous-macro]
PRINT_LIB_INFO(postproc, POSTPROC, flags, level);
^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:172:24: note: expanded from macro 'PRINT_LIB_INFO'
if (strcmp(FFMPEG_CONFIGURATION, cfg)) { \
^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:4:9: note: expanding this definition of 'FFMPEG_CONFIGURATION'
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/config.h:4:9: note: other definition of 'FFMPEG_CONFIGURATION'
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:208:45: warning: ambiguous expansion of macro 'FFMPEG_CONFIGURATION' [-Wambiguous-macro]
av_log(NULL, level, "%sconfiguration: " FFMPEG_CONFIGURATION "\n", indent);
^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:4:9: note: expanding this definition of 'FFMPEG_CONFIGURATION'
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/config.h:4:9: note: other definition of 'FFMPEG_CONFIGURATION'
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:214:20: warning: ambiguous expansion of macro 'FFMPEG_CONFIGURATION' [-Wambiguous-macro]
char str[] = { FFMPEG_CONFIGURATION };
^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:4:9: note: expanding this definition of 'FFMPEG_CONFIGURATION'
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/config.h:4:9: note: other definition of 'FFMPEG_CONFIGURATION'
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:953:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for (i = 0; name = av_get_known_color_name(i, &rgb); i++)
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:953:22: note: place parentheses around the assignment to silence this warning
for (i = 0; name = av_get_known_color_name(i, &rgb); i++)
^
( )
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:953:22: note: use '==' to turn this assignment into an equality comparison
for (i = 0; name = av_get_known_color_name(i, &rgb); i++)
^
==
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:1015:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while (ch_layout = av_channel_layout_standard(&iter)) {
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:1015:22: note: place parentheses around the assignment to silence this warning
while (ch_layout = av_channel_layout_standard(&iter)) {
^
( )
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:1015:22: note: use '==' to turn this assignment into an equality comparison
while (ch_layout = av_channel_layout_standard(&iter)) {
^
==
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:1312:5: warning: ambiguous expansion of macro 'CONFIG_AVDEVICE' [-Wambiguous-macro]
#if CONFIG_AVDEVICE
^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:617:9: note: expanding this definition of 'CONFIG_AVDEVICE'
#define CONFIG_AVDEVICE 0
^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/config.h:617:9: note: other definition of 'CONFIG_AVDEVICE'
#define CONFIG_AVDEVICE 1
^
[31/46] Compiling fftools opt_common.c
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install sdl2 using your system-packager:
brew install sdl2
BUILD FAILURE 5.9 macosSpm