mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 10:44:56 +00:00
Bug 1050060 - Fix 64 bit file offset in MP4 reader; r=edwin
This commit is contained in:
parent
fa358b339a
commit
4c33e4d4ac
@ -78,7 +78,7 @@ public:
|
||||
uint32_t sum = 0;
|
||||
uint32_t bytesRead = 0;
|
||||
do {
|
||||
uint32_t offset = aOffset + sum;
|
||||
uint64_t offset = aOffset + sum;
|
||||
char* buffer = reinterpret_cast<char*>(aBuffer) + sum;
|
||||
uint32_t toRead = aCount - sum;
|
||||
nsresult rv = mResource->ReadAt(offset, buffer, toRead, &bytesRead);
|
||||
|
Loading…
Reference in New Issue
Block a user