summaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2007-07-08 13:42:44 +0000
committerMåns Rullgård <mans@mansr.com>2007-07-08 13:42:44 +0000
commit4f9e995a96f0022b5c6d71f649ae691f8d05d271 (patch)
tree47e0745d106a3ac0d55f5764c5ca8e334fc9571d /libavformat
parentfae3a361beb36d92b9840f8054262b8d88fa3658 (diff)
downloadffmpeg-streaming-4f9e995a96f0022b5c6d71f649ae691f8d05d271.zip
ffmpeg-streaming-4f9e995a96f0022b5c6d71f649ae691f8d05d271.tar.gz
kill harmless 64-bit pointer cast warning
Originally committed as revision 9539 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/movenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index 2022bf2..f1e91b0 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -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 )
OpenPOWER on IntegriCloud