From b57ab95fa1aa356fc3669fe5d165ae76db6591e7 Mon Sep 17 00:00:00 2001 From: Chandler Newman Date: Sat, 20 Jan 2024 21:20:33 +0000 Subject: [PATCH] Disable deprecated warnings --- ffmpeg.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ffmpeg.go b/ffmpeg.go index fffbc3a..c87d38f 100644 --- a/ffmpeg.go +++ b/ffmpeg.go @@ -7,7 +7,7 @@ import ( ) /* -#cgo CFLAGS: -I${SRCDIR}/include +#cgo CFLAGS: -I${SRCDIR}/include -Wno-deprecated #cgo linux,amd64 LDFLAGS: -L${SRCDIR} -lffmpeg_linux_amd64 -lm #cgo linux,arm64 LDFLAGS: -L${SRCDIR} -lffmpeg_linux_arm64 -lm #cgo darwin,amd64 LDFLAGS: -L${SRCDIR} -lffmpeg_darwin_amd64 -lm