mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avfilter/vf_deblock: fix >8 depth format case check
This commit is contained in:
parent
27f1ee7f53
commit
4225819c70
@ -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…
Reference in New Issue
Block a user