aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--mpd-notification.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 4d3260e..a3aec1a 100644
--- a/Makefile
+++ b/Makefile
@@ -8,7 +8,7 @@ RM := rm
CFLAGS += -std=c11 -O2 -Wall -Werror
CFLAGS += $(shell pkg-config --cflags --libs libmpdclient)
CFLAGS += $(shell pkg-config --cflags --libs libnotify)
-LIBAV_CFLAGS := $(shell pkg-config --cflags --libs libavcodec libavformat 2>/dev/null)
+LIBAV_CFLAGS := $(shell pkg-config --cflags --libs libavformat 2>/dev/null)
ifneq ($(LIBAV_CFLAGS),)
CFLAGS += -DHAVE_LIBAV $(LIBAV_CFLAGS)
endif
diff --git a/mpd-notification.h b/mpd-notification.h
index 159aef1..1da743d 100644
--- a/mpd-notification.h
+++ b/mpd-notification.h
@@ -15,7 +15,6 @@
#include <libnotify/notify.h>
#ifdef HAVE_LIBAV
-#include <libavcodec/avcodec.h>
#include <libavformat/avformat.h>
#endif