diff options
author | Monty <xiphmont@xiph.org> | 2002-10-16 08:16:11 +0000 |
---|---|---|
committer | Monty <xiphmont@xiph.org> | 2002-10-16 08:16:11 +0000 |
commit | 93e8099a940fa6a34d52f027be9956c947c44ba6 (patch) | |
tree | 9f4e049e57f428f080309c169c331c863dc267a9 | |
parent | 0185fc26b02cacd81d6e7c5745ff0752afdb4b1c (diff) | |
download | tremor-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
-rw-r--r-- | vorbisfile.c | 2 |
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 |