[FFmpeg-cvslog] avfilter/vf_deblock: fix >8 depth format case check
Paul B Mahol
git at videolan.org
Thu Jan 21 14:41:25 EET 2021
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Thu Jan 21 12:55:16 2021 +0100| [4225819c70161630f26b7129b63e6f3b3f90f59a] | committer: Paul B Mahol
avfilter/vf_deblock: fix >8 depth format case check
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4225819c70161630f26b7129b63e6f3b3f90f59a
---
libavfilter/vf_deblock.c | 4 ++--
1 file 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;
}
More information about the ffmpeg-cvslog
mailing list