[FFmpeg-cvslog] r11679 - trunk/libavcodec/apedec.c

bcoudurier subversion
Thu Jan 31 01:10:56 CET 2008


Author: bcoudurier
Date: Thu Jan 31 01:10:56 2008
New Revision: 11679

Log:
cast to correct type, fix warning: apedec.c:859: warning: passing argument 1 of 's->dsp.bswap_buf' from incompatible pointer type

Modified:
   trunk/libavcodec/apedec.c

Modified: trunk/libavcodec/apedec.c
==============================================================================
--- trunk/libavcodec/apedec.c	(original)
+++ trunk/libavcodec/apedec.c	Thu Jan 31 01:10:56 2008
@@ -856,7 +856,7 @@ static int ape_decode_frame(AVCodecConte
 
     if(!s->samples){
         s->data = av_realloc(s->data, (buf_size + 3) & ~3);
-        s->dsp.bswap_buf(s->data, buf, buf_size >> 2);
+        s->dsp.bswap_buf((uint32_t*)s->data, (uint32_t*)buf, buf_size >> 2);
         s->ptr = s->last_ptr = s->data;
         s->data_end = s->data + buf_size;
 




More information about the ffmpeg-cvslog mailing list