[FFmpeg-cvslog] lavfi: Move avcodec header to the only filter needing it

Vittorio Giovara git at videolan.org
Wed May 20 19:23:55 CEST 2015


ffmpeg | branch: master | Vittorio Giovara <vittorio.giovara at gmail.com> | Thu May 14 23:37:25 2015 +0100| [7046bd9bc9ce04521edf453c9b603d84d69c7512] | committer: Vittorio Giovara

lavfi: Move avcodec header to the only filter needing it

af_ashowinfo, due to the enum AVAudioServiceType use.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7046bd9bc9ce04521edf453c9b603d84d69c7512
---

 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 a91d7ac..5f0e254 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 5c41630..57aa86d 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>
 



More information about the ffmpeg-cvslog mailing list