From 7046bd9bc9ce04521edf453c9b603d84d69c7512 Mon Sep 17 00:00:00 2001 From: Vittorio Giovara Date: Thu, 14 May 2015 23:37:25 +0100 Subject: [PATCH] lavfi: Move avcodec header to the only filter needing it af_ashowinfo, due to the enum AVAudioServiceType use. --- libavfilter/af_ashowinfo.c | 2 ++ libavfilter/avfilter.h | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) 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