File 0001-remove-deprecation-warning-ffmpeg-5.1.patch of Package aubio

From c2ca36fc8a24c1f597e252120aed3f3f38c6032a Mon Sep 17 00:00:00 2001
From: Paul Brossier <piem@piem.org>
Date: Wed, 27 Dec 2023 19:23:13 +0100
Subject: [PATCH] remove deprecation warning (< ffmpeg 5.1)

---
 src/io/source_avcodec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/io/source_avcodec.c b/src/io/source_avcodec.c
index aa2b006..6cf52de 100644
--- a/src/io/source_avcodec.c
+++ b/src/io/source_avcodec.c
@@ -53,7 +53,7 @@
 #endif
 
 #if LIBAVUTIL_VERSION_INT < AV_VERSION_INT(57,28,100)
-#warning "libavutil < 57.28.100 is deprecated"
+//#warning "libavutil < 57.28.100 is deprecated"
 #else
 #define LIBAVUTIL_HAS_CH_LAYOUT
 #endif
-- 
2.53.0

openSUSE Build Service is sponsored by