diff --git a/libavfilter/sink_buffer.c b/libavfilter/sink_buffer.c index 6f7c542498..1c4996708a 100644 --- a/libavfilter/sink_buffer.c +++ b/libavfilter/sink_buffer.c @@ -161,7 +161,7 @@ static av_cold int vsink_init(AVFilterContext *ctx, const char *args, void *opaq return AVERROR(EINVAL); } else { #if FF_API_OLD_VSINK_API - buf->pixel_fmts = (const enum PixelFormats *)opaque; + buf->pixel_fmts = (const enum PixelFormat *)opaque; #else params = (AVBufferSinkParams *)opaque; buf->pixel_fmts = params->pixel_fmts;