diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2012-06-25 20:24:50 +0200 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2012-06-26 11:40:08 +0200 |
commit | 8dd0e87d7b9b17d613c646c396c7b7c1a6293111 (patch) | |
tree | 1bfab33ebed64db0f3442182504b0ad31cd0b760 /libavdevice/lavfi.c | |
parent | f054dbee6cc5195ba8f37823a494dab2d26e7cca (diff) | |
download | ffmpeg-8dd0e87d7b9b17d613c646c396c7b7c1a6293111.tar.gz |
lavfi: remove old video sink API
It was deprecated since a long time and removed after the 2->3 major
bump.
Diffstat (limited to 'libavdevice/lavfi.c')
-rw-r--r-- | libavdevice/lavfi.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/libavdevice/lavfi.c b/libavdevice/lavfi.c index 5387a869d7..65632e302d 100644 --- a/libavdevice/lavfi.c +++ b/libavdevice/lavfi.c @@ -191,16 +191,10 @@ av_cold static int lavfi_read_header(AVFormatContext *avctx) if (type == AVMEDIA_TYPE_VIDEO) { AVBufferSinkParams *buffersink_params = av_buffersink_params_alloc(); -#if FF_API_OLD_VSINK_API - ret = avfilter_graph_create_filter(&sink, buffersink, - inout->name, NULL, - pix_fmts, lavfi->graph); -#else buffersink_params->pixel_fmts = pix_fmts; ret = avfilter_graph_create_filter(&sink, buffersink, inout->name, NULL, buffersink_params, lavfi->graph); -#endif av_freep(&buffersink_params); if (ret < 0) |