diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2006-03-16 23:57:40 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2006-03-16 23:57:40 +0000 |
commit | 7db2245d0ec38f3ed2d0143a9ca78d134b5a11e0 (patch) | |
tree | eb4d41a614ffab4fe716678258ab05692bd8fb50 | |
parent | 059715a41cf67834c1ce153caa245c394abb82e0 (diff) | |
download | ffmpeg-7db2245d0ec38f3ed2d0143a9ca78d134b5a11e0.tar.gz |
> 2GB file fix
Originally committed as revision 5173 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | qt-faststart.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-faststart.c b/qt-faststart.c index b4eba7bb56..535dde3655 100644 --- a/qt-faststart.c +++ b/qt-faststart.c @@ -99,7 +99,7 @@ int main(int argc, char *argv[]) if (fread(atom_bytes, ATOM_PREAMBLE_SIZE, 1, infile) != 1) { break; } - atom_size = BE_32(&atom_bytes[0]); + atom_size = (uint32_t)BE_32(&atom_bytes[0]); atom_type = BE_32(&atom_bytes[4]); if ((atom_type != FREE_ATOM) && |