summaryrefslogtreecommitdiff
path: root/vorbisfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'vorbisfile.c')
-rw-r--r--vorbisfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vorbisfile.c b/vorbisfile.c
index 5429d08..433bdb0 100644
--- a/vorbisfile.c
+++ b/vorbisfile.c
@@ -1287,7 +1287,7 @@ ogg_int64_t ov_time_tell(OggVorbis_File *vf){
}
}
- return(time_total+(vf->pcm_offset-pcm_total)/vf->vi[link].rate*1000);
+ return(time_total+(1000*vf->pcm_offset-pcm_total)/vf->vi[link].rate);
}
/* link: -1) return the vorbis_info struct for the bitstream section