From 06d4b9b7a160ee1fbdc419f16dd6b8c9277288a8 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Wed, 16 May 2018 12:17:06 +0200 Subject: update for ffmpeg 4.x The function av_register_all() is deprecated since commit 0694d8702421e7aff1340038559c438b61bb30dd. --- mpd-notification.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mpd-notification.c b/mpd-notification.c index 3d3da4f..c0d8ced 100644 --- a/mpd-notification.c +++ b/mpd-notification.c @@ -338,7 +338,9 @@ int main(int argc, char ** argv) { #ifdef HAVE_LIBAV /* libav */ +#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(58, 9, 100) av_register_all(); +#endif /* only fatal messages from libav */ if (verbose == 0) -- cgit v1.2.3-70-g09d2