Fix compilation breakage introduced in r2891.

Originally committed to SVN as r2892.
This commit is contained in:
Karl Blomster 2009-05-02 20:06:06 +00:00
parent 04e4249219
commit 0a4190ca98

View file

@ -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;
} }