From: Monty Date: Tue, 27 Mar 2001 07:04:51 +0000 (+0000) Subject: Committed fix to what most people know as the 'seek to zero' bug. X-Git-Tag: v1.3.3~1001 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d42aaa988a5a4a70a84d2fd561c38e68f7710148;p=platform%2Fupstream%2Flibvorbis.git Committed fix to what most people know as the 'seek to zero' bug. Monty svn path=/trunk/vorbis/; revision=1407 --- diff --git a/lib/vorbisfile.c b/lib/vorbisfile.c index 7b91010..23645e0 100644 --- a/lib/vorbisfile.c +++ b/lib/vorbisfile.c @@ -11,7 +11,7 @@ ******************************************************************** function: stdio-based convenience library for opening/seeking/decoding - last mod: $Id: vorbisfile.c,v 1.43 2001/03/20 08:04:05 giles Exp $ + last mod: $Id: vorbisfile.c,v 1.44 2001/03/27 07:04:51 xiphmont Exp $ ********************************************************************/ @@ -915,7 +915,7 @@ int ov_pcm_seek_page(OggVorbis_File *vf,ogg_int64_t pos){ } /* verify result */ - if(vf->pcm_offset>=pos || pos>ov_pcm_total(vf,-1)){ + if(vf->pcm_offset>pos || pos>ov_pcm_total(vf,-1)){ ret=OV_EFAULT; goto seek_error; }