Request to update ac-ffmpeg dependency version
Hello,
Could "libcryptocam" and "cryptocam-companion-cli" versions of "ac-ffmpeg" be bumped past specific ref ("7a7ff68a621a8b2e8810de88748b237180e0feaf"), to at least include "c840768a07dfabaf0550a312b979dcb31737df53"?
I strongly suspect that lack of #include <string.h>
in "ac-ffmpeg"'s "src/logger.c" is causing build error on macOS.
Error
error: failed to run custom build command for `ac-ffmpeg v0.16.0 (https://github.com/angelcam/rust-ac-ffmpeg?rev=7a7ff68a621a8b2e8810de88748b237180e0feaf#7a7ff68a)`
Caused by:
process didn't exit successfully: `/some-path/cryptocam-companion-cli/target/release/build/ac-ffmpeg-b4c86d32011880e5/build-script-build` (exit status: 1)
--- stdout
TARGET = Some("aarch64-apple-darwin")
OPT_LEVEL = Some("3")
HOST = Some("aarch64-apple-darwin")
cargo:rerun-if-env-changed=CC_aarch64-apple-darwin
CC_aarch64-apple-darwin = None
cargo:rerun-if-env-changed=CC_aarch64_apple_darwin
CC_aarch64_apple_darwin = None
cargo:rerun-if-env-changed=HOST_CC
HOST_CC = None
cargo:rerun-if-env-changed=CC
CC = None
cargo:rerun-if-env-changed=CFLAGS_aarch64-apple-darwin
CFLAGS_aarch64-apple-darwin = None
cargo:rerun-if-env-changed=CFLAGS_aarch64_apple_darwin
CFLAGS_aarch64_apple_darwin = None
cargo:rerun-if-env-changed=HOST_CFLAGS
HOST_CFLAGS = None
cargo:rerun-if-env-changed=CFLAGS
CFLAGS = None
cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
CRATE_CC_NO_DEFAULTS = None
DEBUG = Some("false")
CARGO_CFG_TARGET_FEATURE = Some("aes,crc,dit,dotprod,dpb,dpb2,fcma,fhm,flagm,fp16,frintts,jsconv,lor,lse,neon,paca,pacg,pan,pmuv3,ras,rcpc,rcpc2,rdm,sb,sha2,sha3,ssbs,vh")
running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-I" "/opt/homebrew/Cellar/ffmpeg/5.1.2_6/include" "-Wall" "-Wextra" "-o" "/some-path/cryptocam-companion-cli/target/release/build/ac-ffmpeg-63498087fad275cd/out/src/error.o" "-c" "src/error.c"
exit status: 0
running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-I" "/opt/homebrew/Cellar/ffmpeg/5.1.2_6/include" "-Wall" "-Wextra" "-o" "/some-path/cryptocam-companion-cli/target/release/build/ac-ffmpeg-63498087fad275cd/out/src/logger.o" "-c" "src/logger.c"
cargo:warning=src/logger.c:15:5: error: call to undeclared library function 'memset' with type 'void *(void *, int, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
cargo:warning= memset(buffer, 0, sizeof(buffer));
cargo:warning= ^
cargo:warning=src/logger.c:15:5: note: include the header <string.h> or explicitly provide a declaration for 'memset'
cargo:warning=1 error generated.
exit status: 1
--- stderr
error occurred: Command "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-I" "/opt/homebrew/Cellar/ffmpeg/5.1.2_6/include" "-Wall" "-Wextra" "-o" "/some-path/cryptocam-companion-cli/target/release/build/ac-ffmpeg-63498087fad275cd/out/src/logger.o" "-c" "src/logger.c" with args "cc" did not execute successfully (status code exit status: 1).