From 68576d8903da21d0ae4e6f00ca3f71dd98f0b320 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Wed, 16 May 2018 12:23:19 +0200 Subject: update for ffmpeg 4.x The function av_register_all() is deprecated since commit 0694d8702421e7aff1340038559c438b61bb30dd. --- extract-artwork.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'extract-artwork.c') diff --git a/extract-artwork.c b/extract-artwork.c index c0e1af7..62c962e 100644 --- a/extract-artwork.c +++ b/extract-artwork.c @@ -23,7 +23,9 @@ int main(int argc, char **argv) { } /* libav */ +#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(58, 9, 100) av_register_all(); +#endif /* only fatal messages from libav */ av_log_set_level(AV_LOG_FATAL); -- cgit v1.2.3-70-g09d2