diff options
author | Bin Jin <bjin1990@gmail.com> | 2015-12-04 10:59:33 +0000 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-12-04 15:35:20 +0100 |
commit | 01c418f9df79306fe24bedb5fda74f8186a7d832 (patch) | |
tree | f3fb68a175dde9da95806db5f6bbbddd7e1b78d9 /video | |
parent | 3b6c7275bc06d108920dffa4ccdaf6bdfe316cac (diff) |
filter_kernels: remove redundant corner case check
Actually, the original code would bypass some code path below.
Diffstat (limited to 'video')
-rw-r--r-- | video/out/filter_kernels.c | 1 |
1 files changed, 0 insertions, 1 deletions
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) { |