From e96682e6f4c1fbddf468f9f051729332163c1db9 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 18 May 2004 17:09:46 +0000 Subject: some of the warning fixes by (Michael Roitzsch ) Originally committed as revision 3140 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/ra288.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavcodec/ra288.c') diff --git a/libavcodec/ra288.c b/libavcodec/ra288.c index a44eb96..09ecc7a 100644 --- a/libavcodec/ra288.c +++ b/libavcodec/ra288.c @@ -206,7 +206,7 @@ static void prodsum(float *tgt, float *src, int len, int n) } } -void * decode_block(AVCodecContext * avctx, unsigned char *in, signed short int *out,unsigned len) +static void * decode_block(AVCodecContext * avctx, unsigned char *in, signed short int *out,unsigned len) { int x,y; Real288_internal *glob=avctx->priv_data; @@ -255,7 +255,7 @@ static int ra288_decode_frame(AVCodecContext * avctx, data=decode_block(avctx,&buf[j*cfs+cfs*i*h/2],(signed short *)data,cfs); bret += cfs; } - *data_size = data - datao; + *data_size = (char *)data - (char *)datao; return bret; } else -- cgit v1.1