aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Dressel <code@deadcode.eu>2023-08-24 16:58:33 +0200
committerMartin Storsjö <martin@martin.st>2023-08-24 22:09:37 +0300
commite41bd6e65e1485fd1b44540638d06638406be2f4 (patch)
treee7fee62662fe860ba2c6555f7b62130491a42e87
parent9bc5676e405e0154d76ad8d01424f43f3cbd81d5 (diff)
downloadffmpeg-e41bd6e65e1485fd1b44540638d06638406be2f4.tar.gz
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@deadcode.eu> Signed-off-by: Martin Storsjö <martin@martin.st>
-rw-r--r--tests/checkasm/hevc_sao.c2
1 files changed, 1 insertions, 1 deletions
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);
}
}
}