mirror of https://github.com/odrling/Aegisub
Fix compilation breakage introduced in r2891.
Originally committed to SVN as r2892.
This commit is contained in:
parent
04e4249219
commit
0a4190ca98
|
@ -571,10 +571,10 @@ int StdIoProgress(InputStream *_st, ulonglong cur, ulonglong max) {
|
|||
longlong StdIoGetFileSize(InputStream *_st) {
|
||||
MkvStdIO *st = (MkvStdIO *) _st;
|
||||
longlong epos = 0;
|
||||
longlong cpos = _ftelli64(st->fp);
|
||||
_fseeki64(st->fp, 0, SEEK_END);
|
||||
epos = _ftelli64(st->fp);
|
||||
_fseeki64(st->fp, cpos, SEEK_SET);
|
||||
longlong cpos = std_ftell(st->fp);
|
||||
std_fseek(st->fp, 0, SEEK_END);
|
||||
epos = std_ftell(st->fp);
|
||||
std_fseek(st->fp, cpos, SEEK_SET);
|
||||
return epos;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue