From a0854c084ea1541591c54aaab1f993ebaf92ffaf Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Fri, 3 Apr 2015 17:55:18 +0000 Subject: avfilter: handle error in query_formats() in bunch of filters Signed-off-by: Paul B Mahol --- libavfilter/vf_detelecine.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libavfilter/vf_detelecine.c') diff --git a/libavfilter/vf_detelecine.c b/libavfilter/vf_detelecine.c index 8ad7ae32f2..44379a3ec7 100644 --- a/libavfilter/vf_detelecine.c +++ b/libavfilter/vf_detelecine.c @@ -126,8 +126,7 @@ static int query_formats(AVFilterContext *ctx) ff_add_format(&pix_fmts, fmt); } - ff_set_common_formats(ctx, pix_fmts); - return 0; + return ff_set_common_formats(ctx, pix_fmts); } static int config_input(AVFilterLink *inlink) -- cgit v1.2.3