mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-02 12:53:29 +00:00
checkasm/hevc_deblock: Initialize buffer
Fixes the hevc_deblock checkasm test with Valgrind. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
ec1b6e0cd4
commit
6cf904ac3d
@ -227,6 +227,7 @@ static void check_deblock_luma(HEVCDSPContext *h, int bit_depth, int c)
|
|||||||
*ptr1 = buf1 + BUF_OFFSET;
|
*ptr1 = buf1 + BUF_OFFSET;
|
||||||
|
|
||||||
declare_func(void, uint8_t *pix, ptrdiff_t stride, int beta, int32_t *tc, uint8_t *no_p, uint8_t *no_q);
|
declare_func(void, uint8_t *pix, ptrdiff_t stride, int beta, int32_t *tc, uint8_t *no_p, uint8_t *no_q);
|
||||||
|
memset(buf0, 0, BUF_SIZE);
|
||||||
|
|
||||||
for (int j = 0; j < 3; j++) {
|
for (int j = 0; j < 3; j++) {
|
||||||
type = types[j];
|
type = types[j];
|
||||||
|
Loading…
Reference in New Issue
Block a user