[xiph-commits] r16007 - experimental/giles/rogg
j at svn.xiph.org
j at svn.xiph.org
Fri May 15 06:33:29 PDT 2009
Author: j
Date: 2009-05-15 06:33:28 -0700 (Fri, 15 May 2009)
New Revision: 16007
Modified:
experimental/giles/rogg/rogg.c
experimental/giles/rogg/rogg.h
Log:
dont fail for files > 2GB
Modified: experimental/giles/rogg/rogg.c
===================================================================
--- experimental/giles/rogg/rogg.c 2009-05-14 21:48:06 UTC (rev 16006)
+++ experimental/giles/rogg/rogg.c 2009-05-15 13:33:28 UTC (rev 16007)
@@ -110,7 +110,7 @@
}
/* scan for the capture pattern */
-unsigned char *rogg_scan(unsigned char *p, int len)
+unsigned char *rogg_scan(unsigned char *p, long len)
{
unsigned char *end = p + len - 4;
Modified: experimental/giles/rogg/rogg.h
===================================================================
--- experimental/giles/rogg/rogg.h 2009-05-14 21:48:06 UTC (rev 16006)
+++ experimental/giles/rogg/rogg.h 2009-05-15 13:33:28 UTC (rev 16007)
@@ -82,7 +82,7 @@
void rogg_read_uint16(unsigned char *p, uint16_t *v);
/* scan for the 'OggS' capture pattern */
-unsigned char *rogg_scan(unsigned char *p, int len);
+unsigned char *rogg_scan(unsigned char *p, long len);
/* calculate the length of the page starting at p */
void rogg_page_get_length(unsigned char *p, int *length);
More information about the commits
mailing list