summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mpd-notification.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mpd-notification.c b/mpd-notification.c
index dd66dab..2315d65 100644
--- a/mpd-notification.c
+++ b/mpd-notification.c
@@ -353,7 +353,7 @@ int main(int argc, char ** argv) {
#ifdef HAVE_LIBAV
/* 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