[FFmpeg-devel] [PATCH] Fix warning in get_packetheader (in libavformat/nutdec.c)
Eli Friedman
eli.friedman
Wed Jun 30 08:35:34 CEST 2010
Patch attached. Fixes warning "passing argument 2 of
'ff_crc04C11DB7_update' from incompatible pointer type".
-Eli
-------------- next part --------------
Index: libavformat/nutdec.c
===================================================================
--- libavformat/nutdec.c (revision 23896)
+++ libavformat/nutdec.c (working copy)
@@ -95,7 +95,7 @@
// 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-devel
mailing list