diff options
author | Monty <xiphmont@xiph.org> | 2002-10-11 08:23:10 +0000 |
---|---|---|
committer | Monty <xiphmont@xiph.org> | 2002-10-11 08:23:10 +0000 |
commit | 9de1aaf836c69553f9cf9b7b97c16b8128a2a780 (patch) | |
tree | ffc18488bed2e28e7e93769661407456657e3ec2 /vorbisfile.c | |
parent | 068b3c058c95f788a4978aacf0909e1468025c62 (diff) | |
download | tremor-9de1aaf836c69553f9cf9b7b97c16b8128a2a780.tar.gz |
fix ov_time_tell bug in nonseekable stream
git-svn-id: https://svn.xiph.org/trunk/Tremor@3995 0101bb08-14d6-0310-b084-bc0e0c8e3800
Diffstat (limited to 'vorbisfile.c')
-rw-r--r-- | vorbisfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vorbisfile.c b/vorbisfile.c index 564cd33..5429d08 100644 --- a/vorbisfile.c +++ b/vorbisfile.c @@ -1270,7 +1270,7 @@ ogg_int64_t ov_pcm_tell(OggVorbis_File *vf){ ogg_int64_t ov_time_tell(OggVorbis_File *vf){ /* translate time to PCM position and call ov_pcm_seek */ - int link=-1; + int link=0; ogg_int64_t pcm_total=0; ogg_int64_t time_total=0; |