[FFmpeg-cvslog] r9539 - trunk/libavformat/movenc.c
mru
subversion
Sun Jul 8 15:42:45 CEST 2007
Author: mru
Date: Sun Jul 8 15:42:44 2007
New Revision: 9539
Log:
kill harmless 64-bit pointer cast warning
Modified:
trunk/libavformat/movenc.c
Modified: trunk/libavformat/movenc.c
==============================================================================
--- trunk/libavformat/movenc.c (original)
+++ trunk/libavformat/movenc.c Sun Jul 8 15:42:44 2007
@@ -407,7 +407,7 @@ static int mov_write_svq3_tag(ByteIOCont
static uint8_t *avc_find_startcode( uint8_t *p, uint8_t *end )
{
- uint8_t *a = p + 4 - ((int)p & 3);
+ uint8_t *a = p + 4 - ((long)p & 3);
for( end -= 3; p < a && p < end; p++ ) {
if( p[0] == 0 && p[1] == 0 && p[2] == 1 )
More information about the ffmpeg-cvslog
mailing list