mirror of https://git.ffmpeg.org/ffmpeg.git
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 cc679054c7
.
Signed-off-by: Matthias Dressel <code@deadcode.eu>
Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
parent
9bc5676e40
commit
e41bd6e65e
|
@ -134,11 +134,11 @@ 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void checkasm_check_hevc_sao(void)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue