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

Michael Niedermayer michaelni
Tue Feb 13 21:59:08 CET 2007


Hi

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?

kostya is maintainer of jpeg_ls.c, 
maybe he likes these casts as much as i do :)


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Concerning the gods, I have no means of knowing whether they exist or not
or of what sort they may be, because of the obscurity of the subject, and
the brevity of human life -- Protagoras
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070213/bf8f540e/attachment.pgp>



More information about the ffmpeg-devel mailing list