Browse Source

avfilter/vf_deblock: fix >8 depth format case check

tags/n4.4
Paul B Mahol 4 years ago
parent
commit
4225819c70
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      libavfilter/vf_deblock.c

+ 2
- 2
libavfilter/vf_deblock.c View File

@@ -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;
}


Loading…
Cancel
Save