summaryrefslogtreecommitdiff
path: root/vorbisfile.c
diff options
context:
space:
mode:
authorMonty <xiphmont@xiph.org>2002-10-16 08:16:11 +0000
committerMonty <xiphmont@xiph.org>2002-10-16 08:16:11 +0000
commit93e8099a940fa6a34d52f027be9956c947c44ba6 (patch)
tree9f4e049e57f428f080309c169c331c863dc267a9 /vorbisfile.c
parent0185fc26b02cacd81d6e7c5745ff0752afdb4b1c (diff)
downloadtremor-93e8099a940fa6a34d52f027be9956c947c44ba6.tar.gz
Fix ov_time_tell() tonot always return a multiple of 1000
git-svn-id: https://svn.xiph.org/trunk/Tremor@4011 0101bb08-14d6-0310-b084-bc0e0c8e3800
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