0

Ok so I am currently trying to make an avi from a set of bitmaps.
So I popped open a sample avi file in a hex editor to check things out. It starts out right with "RIFF". The next four bytes represent the file size: which i got "40 6A EA 00" in HEX. Now this translates to 1080748544 in decimal and some 128 MB. But the file is actaully just 15 MB.
What gives?

Digvijay

1 Answer 1

1

Haha ok, I got the answer. Basically the file size was given in little endian format, and hence i was calculating the wrong size.
"40 6A EA 00" does translate to 128 MB. However "00 EA 6A 40"(Where EA is the most significant byte) does actually come out to about 15 MB

Digvijay

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.