[xiph-cvs] cvs commit: vorbis/lib vorbisfile.c

Monty xiphmont at xiph.org
Mon Mar 26 23:04:52 PST 2001



xiphmont    01/03/26 23:04:52

  Modified:    lib      vorbisfile.c
  Log:
  Committed fix to what most people know as the 'seek to zero' bug.
  
  Monty

Revision  Changes    Path
1.44      +2 -2      vorbis/lib/vorbisfile.c

Index: vorbisfile.c
===================================================================
RCS file: /usr/local/cvsroot/vorbis/lib/vorbisfile.c,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -r1.43 -r1.44
--- vorbisfile.c	2001/03/20 08:04:05	1.43
+++ vorbisfile.c	2001/03/27 07:04:51	1.44
@@ -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 @@
   }
   
   /* 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;
   }

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list