diff --git a/ffplay.c b/ffplay.c index 753ff91a08..b9104ec56d 100644 --- a/ffplay.c +++ b/ffplay.c @@ -1575,7 +1575,7 @@ static int configure_video_filters(AVFilterGraph *graph, VideoState *is, const c #if FF_API_OLD_VSINK_API ret = avfilter_graph_create_filter(&filt_out, avfilter_get_by_name("buffersink"), - "out", NULL, pix_fmts, graph); + "out", NULL, (void *)pix_fmts, graph); #else buffersink_params->pixel_fmts = pix_fmts; ret = avfilter_graph_create_filter(&filt_out,