[xiph-commits] r3902 - liboggz/trunk/src/liboggz

conrad at svn.annodex.net conrad at svn.annodex.net
Sat Mar 28 01:30:50 PDT 2009


Author: conrad
Date: 2009-03-28 01:30:50 -0700 (Sat, 28 Mar 2009)
New Revision: 3902

Modified:
   liboggz/trunk/src/liboggz/oggz_seek.c
Log:
Apply patch from Robert O'Callahan for Mozilla bug 475441
See https://bugzilla.mozilla.org/show_bug.cgi?id=475441#c47

Modified: liboggz/trunk/src/liboggz/oggz_seek.c
===================================================================
--- liboggz/trunk/src/liboggz/oggz_seek.c	2009-03-28 08:05:41 UTC (rev 3901)
+++ liboggz/trunk/src/liboggz/oggz_seek.c	2009-03-28 08:30:50 UTC (rev 3902)
@@ -704,7 +704,7 @@
       printf ("oggz_seek_set: [c] u%lld\n",
 	      oggz_get_unit (oggz, serialno, granule_at));
 #endif
-    } else {
+    } else if (offset_next >= 0) {
       serialno = ogg_page_serialno (og);
       granule_at = ogg_page_granulepos (og);
     }



More information about the commits mailing list