mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
motion_est: Fix warning from zero_cmp() assignment
warning: incompatible pointer types assigning to 'me_cmp_func' (aka 'int (*)(struct MpegEncContext *, uint8_t *, uint8_t *, ptrdiff_t, int)') from 'int (MpegEncContext *, uint8_t *, uint8_t *, int, int)' [-Wincompatible-pointer-types]
This commit is contained in:
parent
4d593896aa
commit
0251c9be5a
@ -291,7 +291,7 @@ static int cmp_qpel(MpegEncContext *s, const int x, const int y, const int subx,
|
|||||||
#include "motion_est_template.c"
|
#include "motion_est_template.c"
|
||||||
|
|
||||||
static int zero_cmp(MpegEncContext *s, uint8_t *a, uint8_t *b,
|
static int zero_cmp(MpegEncContext *s, uint8_t *a, uint8_t *b,
|
||||||
int stride, int h)
|
ptrdiff_t stride, int h)
|
||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user