mirror of
https://github.com/librempeg/librempeg
synced 2024-11-22 00:51:37 +00:00
tests/checkasm/huffyuvdsp: Use correct function pointer type
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
dc43263c22
commit
d2016d3659
@ -42,7 +42,7 @@ static void check_add_int16(HuffYUVDSPContext *c, unsigned mask, int width, cons
|
|||||||
uint16_t *dst0 = av_mallocz(width * sizeof(uint16_t));
|
uint16_t *dst0 = av_mallocz(width * sizeof(uint16_t));
|
||||||
uint16_t *dst1 = av_mallocz(width * sizeof(uint16_t));
|
uint16_t *dst1 = av_mallocz(width * sizeof(uint16_t));
|
||||||
|
|
||||||
declare_func(void, uint16_t *dst, uint16_t *src, unsigned mask, int w);
|
declare_func(void, uint16_t *dst, const uint16_t *src, unsigned mask, int w);
|
||||||
|
|
||||||
if (!src0 || !src1 || !dst0 || !dst1)
|
if (!src0 || !src1 || !dst0 || !dst1)
|
||||||
fail();
|
fail();
|
||||||
|
Loading…
Reference in New Issue
Block a user