summaryrefslogtreecommitdiff
path: root/libavfilter
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2015-05-14 23:37:25 +0100
committerVittorio Giovara <vittorio.giovara@gmail.com>2015-05-19 18:56:40 +0100
commit7046bd9bc9ce04521edf453c9b603d84d69c7512 (patch)
tree4b21fdd81edc41aee827c134cf583312cec2d869 /libavfilter
parenteafbc6716cede6d4a652f8bedf82f2901c68d06d (diff)
lavfi: Move avcodec header to the only filter needing it
af_ashowinfo, due to the enum AVAudioServiceType use.
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/af_ashowinfo.c2
-rw-r--r--libavfilter/avfilter.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/libavfilter/af_ashowinfo.c b/libavfilter/af_ashowinfo.c
index a91d7ac25c..5f0e2549ff 100644
--- a/libavfilter/af_ashowinfo.c
+++ b/libavfilter/af_ashowinfo.c
@@ -36,6 +36,8 @@
#include "libavutil/replaygain.h"
#include "libavutil/samplefmt.h"
+#include "libavcodec/avcodec.h"
+
#include "audio.h"
#include "avfilter.h"
#include "internal.h"
diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h
index 5c41630909..57aa86d6b1 100644
--- a/libavfilter/avfilter.h
+++ b/libavfilter/avfilter.h
@@ -40,7 +40,6 @@
#include "libavutil/samplefmt.h"
#include "libavutil/pixfmt.h"
#include "libavutil/rational.h"
-#include "libavcodec/avcodec.h"
#include <stddef.h>