forked from mia/Aegisub
Fix compilation breakage introduced in r2891.
Originally committed to SVN as r2892.
This commit is contained in:
parent
04e4249219
commit
0a4190ca98
1 changed files with 4 additions and 4 deletions
|
@ -571,10 +571,10 @@ int StdIoProgress(InputStream *_st, ulonglong cur, ulonglong max) {
|
||||||
longlong StdIoGetFileSize(InputStream *_st) {
|
longlong StdIoGetFileSize(InputStream *_st) {
|
||||||
MkvStdIO *st = (MkvStdIO *) _st;
|
MkvStdIO *st = (MkvStdIO *) _st;
|
||||||
longlong epos = 0;
|
longlong epos = 0;
|
||||||
longlong cpos = _ftelli64(st->fp);
|
longlong cpos = std_ftell(st->fp);
|
||||||
_fseeki64(st->fp, 0, SEEK_END);
|
std_fseek(st->fp, 0, SEEK_END);
|
||||||
epos = _ftelli64(st->fp);
|
epos = std_ftell(st->fp);
|
||||||
_fseeki64(st->fp, cpos, SEEK_SET);
|
std_fseek(st->fp, cpos, SEEK_SET);
|
||||||
return epos;
|
return epos;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue