Fix one warning

Originally committed as revision 7976 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Michel Bardiaux 18 years ago
parent 1e9be11faf
commit e372862674
  1. 2
      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]; 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++){

Loading…
Cancel
Save