From 939f69cec2789fc36c03f9c598c030af369452df Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Wed, 24 Aug 2022 17:03:59 +0200 Subject: fix libav version check Checking with LIBAVCODEC_VERSION_INT is stupid if we do not include libavcodec... Let's use LIBAVFORMAT_VERSION_INT instead. This broke with commit 68576d8903da21d0ae4e6f00ca3f71dd98f0b320. --- extract-artwork.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extract-artwork.c b/extract-artwork.c index 84d2120..d426043 100644 --- a/extract-artwork.c +++ b/extract-artwork.c @@ -34,7 +34,7 @@ int main(int argc, char **argv) { } /* libav */ -#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(58, 9, 100) +#if LIBAVFORMAT_VERSION_INT < AV_VERSION_INT(58, 9, 100) av_register_all(); #endif -- cgit v1.2.3-54-g00ecf