Fix one warning

Originally committed as revision 7976 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michel Bardiaux 2007-02-14 09:57:41 +00:00
parent 1e9be11faf
commit e372862674
1 changed files with 1 additions and 1 deletions

View File

@ -480,7 +480,7 @@ static int ls_decode_picture(MJpegDecodeContext *s, int near, int point_transfor
src += s->picture.linesize[0]; src += s->picture.linesize[0];
} }
}else{ }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(i = 0; i < s->height; i++){
for(x = 0; x < w; x++){ for(x = 0; x < w; x++){