[FFmpeg-cvslog] checkasm: hevc_sao: Fix a regression in hevc_sao_edge
Matthias Dressel
git at videolan.org
Thu Aug 24 22:11:11 EEST 2023
ffmpeg | branch: master | Matthias Dressel <code at deadcode.eu> | Thu Aug 24 16:58:33 2023 +0200| [e41bd6e65e1485fd1b44540638d06638406be2f4] | committer: Martin Storsjö
checkasm: hevc_sao: Fix a regression in hevc_sao_edge
check_func() might return NULL, in which case the function is not to be
benched. Introduced in cc679054c715acda9438e566b8de3a9eba421ac3.
Signed-off-by: Matthias Dressel <code at deadcode.eu>
Signed-off-by: Martin Storsjö <martin at martin.st>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e41bd6e65e1485fd1b44540638d06638406be2f4
---
tests/checkasm/hevc_sao.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/checkasm/hevc_sao.c b/tests/checkasm/hevc_sao.c
index cfee2ddf50..94aa1942e1 100644
--- a/tests/checkasm/hevc_sao.c
+++ b/tests/checkasm/hevc_sao.c
@@ -134,8 +134,8 @@ static void check_sao_edge(HEVCDSPContext *h, int bit_depth)
if (memcmp(dst0 + j*stride, dst1 + j*stride, w*SIZEOF_PIXEL))
fail();
}
+ bench_new(dst1, src1 + offset, stride, offset_val, eo, block_size, block_size);
}
- bench_new(dst1, src1 + offset, stride, offset_val, eo, block_size, block_size);
}
}
}
More information about the ffmpeg-cvslog
mailing list