diff options
Diffstat (limited to 'libavformat/avc.c')
-rw-r--r-- | libavformat/avc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/avc.c b/libavformat/avc.c index 6ecea38a47..578e7d0462 100644 --- a/libavformat/avc.c +++ b/libavformat/avc.c @@ -25,7 +25,7 @@ const uint8_t *ff_avc_find_startcode(const uint8_t *p, const uint8_t *end) { - const uint8_t *a = p + 4 - ((long)p & 3); + const uint8_t *a = p + 4 - ((intptr_t)p & 3); for( end -= 3; p < a && p < end; p++ ) { if( p[0] == 0 && p[1] == 0 && p[2] == 1 ) |