projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fae3a36
)
kill harmless 64-bit pointer cast warning
author
Måns Rullgård
<mans@mansr.com>
Sun, 8 Jul 2007 13:42:44 +0000
(13:42 +0000)
committer
Måns Rullgård
<mans@mansr.com>
Sun, 8 Jul 2007 13:42:44 +0000
(13:42 +0000)
Originally committed as revision 9539 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/movenc.c
patch
|
blob
|
history
diff --git
a/libavformat/movenc.c
b/libavformat/movenc.c
index
2022bf2
..
f1e91b0
100644
(file)
--- 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 )