summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorBenjamin Larsson <banan@ludd.ltu.se>2006-01-23 14:28:50 +0000
committerBenjamin Larsson <banan@ludd.ltu.se>2006-01-23 14:28:50 +0000
commited06cf6d1de220cf92309e2d5713a567bda5fe6c (patch)
tree71ecb469b47300ee93730513b4eac4aa9f17e703 /libavformat
parentb29af723de754311fa99113503f5895f446961c1 (diff)
downloadffmpeg-ed06cf6d1de220cf92309e2d5713a567bda5fe6c.tar.gz
gcc 2.95 fix
Originally committed as revision 4887 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 7f0b51511d..f58d764f73 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -112,9 +112,9 @@ static offset_t updateSize (ByteIOContext *pb, offset_t pos)
static int mov_write_stco_tag(ByteIOContext *pb, MOVTrack* track)
{
int i;
+ int mode64 = 0; // use 32 bit size variant if possible
offset_t pos = url_ftell(pb);
put_be32(pb, 0); /* size */
- int mode64 = 0; // use 32 bit size variant if possible
if (pos > UINT32_MAX) {
mode64 = 1;
put_tag(pb, "co64");