From e37286267400c516fee7031f8da57d595987467d Mon Sep 17 00:00:00 2001 From: Michel Bardiaux Date: Wed, 14 Feb 2007 09:57:41 +0000 Subject: [PATCH] Fix one warning Originally committed as revision 7976 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/jpeg_ls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/jpeg_ls.c b/libavcodec/jpeg_ls.c index 4629176ada..67f0d0f5ab 100644 --- a/libavcodec/jpeg_ls.c +++ b/libavcodec/jpeg_ls.c @@ -480,7 +480,7 @@ static int ls_decode_picture(MJpegDecodeContext *s, int near, int point_transfor src += s->picture.linesize[0]; } }else{ - uint16_t *src = s->picture.data[0]; + uint16_t *src = (uint16_t*) s->picture.data[0]; for(i = 0; i < s->height; i++){ for(x = 0; x < w; x++){