aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2010-07-03 10:25:32 +0000
committerCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>2010-07-03 10:25:32 +0000
commita07a06b0334529be6d047db6b0c85a85182e2f42 (patch)
treecc08d29ce250b4a9270b44643825def3d7087a1f /libavformat
parent8abcbf2d54130d9be896c9b41ca021ce5710a56a (diff)
downloadffmpeg-a07a06b0334529be6d047db6b0c85a85182e2f42.tar.gz
Fix warning "passing argument from incompatible pointer type".
Patch by Eli Friedman, eli d friedman a gmail Originally committed as revision 24020 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/nutdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/nutdec.c b/libavformat/nutdec.c
index eed644cd6c..aae58261bb 100644
--- a/libavformat/nutdec.c
+++ b/libavformat/nutdec.c
@@ -95,7 +95,7 @@ static int get_packetheader(NUTContext *nut, ByteIOContext *bc, int calculate_ch
// 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);