diff --git a/ffplay.c b/ffplay.c index b042ba7a94a895b22bd6b039ce7664d46137314d..28868053cd9982a35f49ab002674c3ba50abe319 100644 --- a/ffplay.c +++ b/ffplay.c @@ -1995,20 +1995,20 @@ static int configure_video_filters(AVFilterGraph *graph, VideoState *is, const c /* Note: this macro adds a filter before the lastly added filter, so the * processing order of the filters is in reverse */ -#define INSERT_FILT(name, arg) do { \ - AVFilterContext *filt_ctx; \ - \ - ret = avfilter_graph_create_filter(&filt_ctx, \ - avfilter_get_by_name(name), \ - "ffplay_" name, arg, NULL, graph); \ - if (ret < 0) \ - goto fail; \ - \ - ret = avfilter_link(filt_ctx, 0, last_filter, 0); \ - if (ret < 0) \ - goto fail; \ - \ - last_filter = filt_ctx; \ +#define INSERT_FILT(name, arg) do { \ + AVFilterContext *filt_ctx; \ + \ + ret = avfilter_graph_create_filter(&filt_ctx, \ + avfilter_get_by_name(name), \ + "ffplay_" name, arg, NULL, graph); \ + if (ret < 0) \ + goto fail; \ + \ + ret = avfilter_link(filt_ctx, 0, last_filter, 0); \ + if (ret < 0) \ + goto fail; \ + \ + last_filter = filt_ctx; \ } while (0) /* SDL YUV code is not handling odd width/height for some driver