From ed06cf6d1de220cf92309e2d5713a567bda5fe6c Mon Sep 17 00:00:00 2001 From: Benjamin Larsson Date: Mon, 23 Jan 2006 14:28:50 +0000 Subject: gcc 2.95 fix Originally committed as revision 4887 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/movenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat') 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"); -- cgit v1.2.3