diff options
author | Christian Hesse <mail@eworm.de> | 2018-05-16 12:17:06 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2018-05-16 12:17:06 +0200 |
commit | 06d4b9b7a160ee1fbdc419f16dd6b8c9277288a8 (patch) | |
tree | ed7926701821fa9c83eee6ee9ef4f37bb44eb229 | |
parent | 6e33b32b13bc6287255465ff59f760a7f5798c30 (diff) | |
download | mpd-notification-06d4b9b7a160ee1fbdc419f16dd6b8c9277288a8.tar.gz mpd-notification-06d4b9b7a160ee1fbdc419f16dd6b8c9277288a8.tar.zst |
update for ffmpeg 4.x
The function av_register_all() is deprecated since commit
0694d8702421e7aff1340038559c438b61bb30dd.
-rw-r--r-- | mpd-notification.c | 2 |
1 files changed, 2 insertions, 0 deletions
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) |