summaryrefslogtreecommitdiff
path: root/ffplay.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2012-06-25 20:24:50 +0200
committerStefano Sabatini <stefasab@gmail.com>2012-06-26 11:40:08 +0200
commit8dd0e87d7b9b17d613c646c396c7b7c1a6293111 (patch)
tree1bfab33ebed64db0f3442182504b0ad31cd0b760 /ffplay.c
parentf054dbee6cc5195ba8f37823a494dab2d26e7cca (diff)
lavfi: remove old video sink API
It was deprecated since a long time and removed after the 2->3 major bump.
Diffstat (limited to 'ffplay.c')
-rw-r--r--ffplay.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/ffplay.c b/ffplay.c
index 6a49d85a2e..afd65fce39 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -1572,16 +1572,10 @@ static int configure_video_filters(AVFilterGraph *graph, VideoState *is, const c
graph)) < 0)
return ret;
-#if FF_API_OLD_VSINK_API
- ret = avfilter_graph_create_filter(&filt_out,
- avfilter_get_by_name("buffersink"),
- "ffplay_buffersink", NULL, (void *)pix_fmts, graph);
-#else
buffersink_params->pixel_fmts = pix_fmts;
ret = avfilter_graph_create_filter(&filt_out,
avfilter_get_by_name("buffersink"),
"ffplay_buffersink", NULL, buffersink_params, graph);
-#endif
av_freep(&buffersink_params);
if (ret < 0)
return ret;