Merge commit '42be7440ee2a3a360c83802e4e7a2ecf40220eff' * commit '42be7440ee2a3a360c83802e4e7a2ecf40220eff': Note to self: Don't reverse the arguments to fseek(o)...
This commit is contained in:
@@ -70,7 +70,7 @@ status_t FileSource::getSize(off_t *size) {
|
||||
return OK;
|
||||
}
|
||||
|
||||
fseek(mFile, SEEK_END, 0);
|
||||
fseek(mFile, 0, SEEK_END);
|
||||
*size = ftello(mFile);
|
||||
|
||||
return OK;
|
||||
|
||||
Reference in New Issue
Block a user