aboutsummaryrefslogtreecommitdiffstats
path: root/mpd-notification.c
diff options
context:
space:
mode:
Diffstat (limited to 'mpd-notification.c')
-rw-r--r--mpd-notification.c2
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)