diff --git a/libavfilter/avcodec.c b/libavfilter/avcodec.c index 7ec5881e07..c902f988e3 100644 --- a/libavfilter/avcodec.c +++ b/libavfilter/avcodec.c @@ -25,6 +25,7 @@ #include "avcodec.h" #include "libavutil/avassert.h" +#include "libavutil/channel_layout.h" #include "libavutil/opt.h" AVFilterBufferRef *avfilter_get_video_buffer_ref_from_frame(const AVFrame *frame, diff --git a/libavfilter/avcodec.h b/libavfilter/avcodec.h index a5952062a0..6be51f4fd9 100644 --- a/libavfilter/avcodec.h +++ b/libavfilter/avcodec.h @@ -28,7 +28,6 @@ * symbols defined below will not be available. */ -#include "libavcodec/avcodec.h" // AVFrame #include "avfilter.h" /**