> 2GB file fix

Originally committed as revision 5173 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Baptiste Coudurier 2006-03-16 23:57:40 +00:00
parent 059715a41c
commit 7db2245d0e

View File

@ -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) &&