aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/vf_crop.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2015-04-03 17:55:18 +0000
committerPaul B Mahol <onemda@gmail.com>2015-04-08 13:05:06 +0000
commita0854c084ea1541591c54aaab1f993ebaf92ffaf (patch)
tree1ebc69023a4f7eb471ce60ff4784b146a8b9973f /libavfilter/vf_crop.c
parent21e034a47a2b407f0896114a995fd507f0f5230f (diff)
downloadffmpeg-a0854c084ea1541591c54aaab1f993ebaf92ffaf.tar.gz
avfilter: handle error in query_formats() in bunch of filters
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavfilter/vf_crop.c')
-rw-r--r--libavfilter/vf_crop.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavfilter/vf_crop.c b/libavfilter/vf_crop.c
index a2f029a2f7..6f7e5d4238 100644
--- a/libavfilter/vf_crop.c
+++ b/libavfilter/vf_crop.c
@@ -102,8 +102,7 @@ static int query_formats(AVFilterContext *ctx)
ff_add_format(&formats, fmt);
}
- ff_set_common_formats(ctx, formats);
- return 0;
+ return ff_set_common_formats(ctx, formats);
}
static av_cold void uninit(AVFilterContext *ctx)