diff --git a/libavfilter/stack_internal.h b/libavfilter/stack_internal.h index ace8886152..b4f9b92223 100644 --- a/libavfilter/stack_internal.h +++ b/libavfilter/stack_internal.h @@ -19,6 +19,10 @@ #ifndef AVFILTER_STACK_INTERNAL_H #define AVFILTER_STACK_INTERNAL_H +#ifdef HWContext + +#include "libavfilter/framesync.h" + enum { STACK_H = 0, STACK_V = 1, @@ -57,4 +61,6 @@ static int stack_init(AVFilterContext *avctx); static av_cold void stack_uninit(AVFilterContext *avctx); static int stack_activate(AVFilterContext *avctx); +#endif + #endif /* AVFILTER_STACK_INTERNAL_H */