From 93e8099a940fa6a34d52f027be9956c947c44ba6 Mon Sep 17 00:00:00 2001 From: Monty Date: Wed, 16 Oct 2002 08:16:11 +0000 Subject: 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 --- vorbisfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vorbisfile.c') 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 -- cgit v1.2.1