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,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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue