[Ffmpeg-devel] [PATCH] Fix warning in jpeg_ls

Benoit Fouet benoit.fouet
Wed Feb 7 13:52:58 CET 2007


Michel Bardiaux wrote:
> Index: libavcodec/jpeg_ls.c
> ===================================================================
> --- libavcodec/jpeg_ls.c	(revision 7870)
> +++ libavcodec/jpeg_ls.c	(working copy)
> @@ -480,7 +480,7 @@
>                  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++){
>   
>   
let's see if it'll be welcome better than this one :)
http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2007-January/051595.html

Ben




More information about the ffmpeg-devel mailing list