diff options
author | Måns Rullgård <mans@mansr.com> | 2005-08-14 15:42:40 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2005-08-14 15:42:40 +0000 |
commit | bf4e3bd2d0263169ebf5d88972ae319ecb0d7a1e (patch) | |
tree | 21994d3ba7eb77248e57a7291217c45816ce7648 /libavcodec/dsputil.c | |
parent | 72ce053b9cc9fc7fddce15ea8833a3783fef3540 (diff) | |
download | ffmpeg-bf4e3bd2d0263169ebf5d88972ae319ecb0d7a1e.tar.gz |
kill a bunch of compiler warnings
Originally committed as revision 4522 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dsputil.c')
-rw-r--r-- | libavcodec/dsputil.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libavcodec/dsputil.c b/libavcodec/dsputil.c index 7c2abb2006..bfab8e2341 100644 --- a/libavcodec/dsputil.c +++ b/libavcodec/dsputil.c @@ -2988,7 +2988,8 @@ static int pix_abs8_xy2_c(void *v, uint8_t *pix1, uint8_t *pix2, int line_size, return s; } -static int nsse16_c(MpegEncContext *c, uint8_t *s1, uint8_t *s2, int stride, int h){ +static int nsse16_c(void *v, uint8_t *s1, uint8_t *s2, int stride, int h){ + MpegEncContext *c = v; int score1=0; int score2=0; int x,y; @@ -3013,7 +3014,8 @@ static int nsse16_c(MpegEncContext *c, uint8_t *s1, uint8_t *s2, int stride, int else return score1 + ABS(score2)*8; } -static int nsse8_c(MpegEncContext *c, uint8_t *s1, uint8_t *s2, int stride, int h){ +static int nsse8_c(void *v, uint8_t *s1, uint8_t *s2, int stride, int h){ + MpegEncContext *c = v; int score1=0; int score2=0; int x,y; |