Skip to content
Snippets Groups Projects
Commit 7db2245d authored by Baptiste Coudurier's avatar Baptiste Coudurier
Browse files

> 2GB file fix

Originally committed as revision 5173 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 059715a4
No related branches found
No related tags found
No related merge requests found
...@@ -99,7 +99,7 @@ int main(int argc, char *argv[]) ...@@ -99,7 +99,7 @@ int main(int argc, char *argv[])
if (fread(atom_bytes, ATOM_PREAMBLE_SIZE, 1, infile) != 1) { if (fread(atom_bytes, ATOM_PREAMBLE_SIZE, 1, infile) != 1) {
break; break;
} }
atom_size = BE_32(&atom_bytes[0]); atom_size = (uint32_t)BE_32(&atom_bytes[0]);
atom_type = BE_32(&atom_bytes[4]); atom_type = BE_32(&atom_bytes[4]);
if ((atom_type != FREE_ATOM) && if ((atom_type != FREE_ATOM) &&
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment