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

Kostya kostya.shishkov
Wed Feb 14 06:51:34 CET 2007


On Tue, Feb 13, 2007 at 05:00:36PM +0100, Michel Bardiaux wrote:
> Benoit Fouet wrote:
> >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
> >
> 
> Ping reviewers?

Apply it if you want. I have no objections.




More information about the ffmpeg-devel mailing list