diff mjpeg.c @ 2522:e25782262d7d libavcodec

kill warnings patch by (Mns Rullgrd <mru inprovide com>)
author michael
date Thu, 24 Feb 2005 19:08:50 +0000
parents f67b63ed036d
children 587ed6630b5d
line wrap: on
line diff
--- a/mjpeg.c	Thu Feb 24 16:39:03 2005 +0000
+++ b/mjpeg.c	Thu Feb 24 19:08:50 2005 +0000
@@ -676,7 +676,7 @@
     if(avctx->pix_fmt == PIX_FMT_RGBA32){
         int x, y, i;
         const int linesize= p->linesize[0];
-        uint16_t (*buffer)[4]= s->rd_scratchpad;
+        uint16_t (*buffer)[4]= (void *) s->rd_scratchpad;
         int left[3], top[3], topleft[3];
 
         for(i=0; i<3; i++){