summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavfilter/vf_deblock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/vf_deblock.c b/libavfilter/vf_deblock.c
index 77c681ecb8..b2be1d6f07 100644
--- a/libavfilter/vf_deblock.c
+++ b/libavfilter/vf_deblock.c
@@ -285,14 +285,14 @@ static int config_output(AVFilterLink *outlink)
if (s->depth <= 8 && s->filter == WEAK) {
s->deblockh = deblockh8_weak;
s->deblockv = deblockv8_weak;
- } else if (s->depth >= 8 && s->filter == WEAK) {
+ } else if (s->depth > 8 && s->filter == WEAK) {
s->deblockh = deblockh16_weak;
s->deblockv = deblockv16_weak;
}
if (s->depth <= 8 && s->filter == STRONG) {
s->deblockh = deblockh8_strong;
s->deblockv = deblockv8_strong;
- } else if (s->depth >= 8 && s->filter == STRONG) {
+ } else if (s->depth > 8 && s->filter == STRONG) {
s->deblockh = deblockh16_strong;
s->deblockv = deblockv16_strong;
}