diff options
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | mpd-notification.h | 1 |
2 files changed, 1 insertions, 2 deletions
@@ -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 |