From 01c418f9df79306fe24bedb5fda74f8186a7d832 Mon Sep 17 00:00:00 2001 From: Bin Jin Date: Fri, 4 Dec 2015 10:59:33 +0000 Subject: filter_kernels: remove redundant corner case check Actually, the original code would bypass some code path below. --- video/out/filter_kernels.c | 1 - 1 file changed, 1 deletion(-) (limited to 'video') diff --git a/video/out/filter_kernels.c b/video/out/filter_kernels.c index 0f6d5a98bc..b826da5b45 100644 --- a/video/out/filter_kernels.c +++ b/video/out/filter_kernels.c @@ -73,7 +73,6 @@ bool mp_init_filter(struct filter_kernel *filter, const int *sizes, filter->f.radius *= filter->inv_scale; // Polar filters are dependent solely on the radius if (filter->polar) { - filter->f.radius = fmin(filter->f.radius, 16.0); filter->size = 1; // Safety precaution to avoid generating a gigantic shader if (filter->f.radius > 16.0) { -- cgit v1.2.3