diff options
author | Paul B Mahol <onemda@gmail.com> | 2021-01-21 12:55:16 +0100 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2021-01-21 13:37:47 +0100 |
commit | 4225819c70161630f26b7129b63e6f3b3f90f59a (patch) | |
tree | 0d7033b648742951220da26bc3bcf1d99eb8b05f /libavfilter | |
parent | 27f1ee7f53adf665818d89ce468e7e10bce4c831 (diff) |
avfilter/vf_deblock: fix >8 depth format case check
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/vf_deblock.c | 4 |
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; } |