[FFmpeg-cvslog] r24020 - trunk/libavformat/nutdec.c

cehoyos subversion
Sat Jul 3 12:25:32 CEST 2010


Author: cehoyos
Date: Sat Jul  3 12:25:32 2010
New Revision: 24020

Log:
Fix warning "passing argument from incompatible pointer type".

Patch by Eli Friedman, eli d friedman a gmail

Modified:
   trunk/libavformat/nutdec.c

Modified: trunk/libavformat/nutdec.c
==============================================================================
--- trunk/libavformat/nutdec.c	Sat Jul  3 12:12:22 2010	(r24019)
+++ trunk/libavformat/nutdec.c	Sat Jul  3 12:25:32 2010	(r24020)
@@ -95,7 +95,7 @@ static int get_packetheader(NUTContext *
 //    start= url_ftell(bc) - 8;
 
     startcode= be2me_64(startcode);
-    startcode= ff_crc04C11DB7_update(0, &startcode, 8);
+    startcode= ff_crc04C11DB7_update(0, (uint8_t*)&startcode, 8);
 
     init_checksum(bc, ff_crc04C11DB7_update, startcode);
     size= ff_get_v(bc);



More information about the ffmpeg-cvslog mailing list