diff options
author | Michel Bardiaux <mbardiaux@mediaxim.be> | 2007-02-14 09:57:41 +0000 |
---|---|---|
committer | Michel Bardiaux <mbardiaux@mediaxim.be> | 2007-02-14 09:57:41 +0000 |
commit | e37286267400c516fee7031f8da57d595987467d (patch) | |
tree | 0b6e3e94b2c008fccc1bdeb8651390d5d2944ff5 | |
parent | 1e9be11fafde951fe13f490e92799cd3cb61b85a (diff) | |
download | ffmpeg-e37286267400c516fee7031f8da57d595987467d.tar.gz |
Fix one warning
Originally committed as revision 7976 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/jpeg_ls.c | 2 |
1 files changed, 1 insertions, 1 deletions
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++){ |