1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

checkasm/vf_threshold: fix mixed code and declarations

Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
James Almer 2017-12-04 15:26:34 -03:00
parent 942eafcf08
commit 1b324700e3

View File

@ -42,16 +42,16 @@ static void check_threshold_8(void){
ptrdiff_t line_size = WIDTH_PADDED;
int w = WIDTH;
ThresholdContext s;
s.depth = 8;
ff_threshold_init(&s);
declare_func(void, const uint8_t *in, const uint8_t *threshold,
const uint8_t *min, const uint8_t *max, uint8_t *out,
ptrdiff_t ilinesize, ptrdiff_t tlinesize,
ptrdiff_t flinesize, ptrdiff_t slinesize,
ptrdiff_t olinesize, int w, int h);
ThresholdContext s;
s.depth = 8;
ff_threshold_init(&s);
memset(in, 0, WIDTH_PADDED);
memset(threshold, 0, WIDTH_PADDED);
memset(min, 0, WIDTH_PADDED);