diff options
author | Christian Hesse <mail@eworm.de> | 2015-07-03 23:21:18 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2015-07-03 23:21:18 +0200 |
commit | 1006db07a7e8ec28f47a91d314775d380c71025f (patch) | |
tree | 0f7ca64b0e9c51052fed864dbbc9480857720087 | |
parent | 360535171d457506deaad4210251939c08674a76 (diff) | |
download | mpd-notification-1006db07a7e8ec28f47a91d314775d380c71025f.tar.gz mpd-notification-1006db07a7e8ec28f47a91d314775d380c71025f.tar.zst |
it is sufficient to link against libavformat
-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 |