1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00

kill harmless 64-bit pointer cast warning

Originally committed as revision 9539 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Måns Rullgård 2007-07-08 13:42:44 +00:00
parent fae3a361be
commit 4f9e995a96

View File

@ -407,7 +407,7 @@ static int mov_write_svq3_tag(ByteIOContext *pb)
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 )