[xiph-commits] r3175 - liboggz/trunk/src/liboggz
shans at svn.annodex.net
shans at svn.annodex.net
Mon Jul 30 04:22:05 PDT 2007
Author: shans
Date: 2007-07-30 04:22:04 -0700 (Mon, 30 Jul 2007)
New Revision: 3175
Modified:
liboggz/trunk/src/liboggz/oggz_seek.c
Log:
Spurious variable and missing cast
Modified: liboggz/trunk/src/liboggz/oggz_seek.c
===================================================================
--- liboggz/trunk/src/liboggz/oggz_seek.c 2007-07-30 09:49:21 UTC (rev 3174)
+++ liboggz/trunk/src/liboggz/oggz_seek.c 2007-07-30 11:22:04 UTC (rev 3175)
@@ -107,7 +107,6 @@
{
OggzReader * reader = &oggz->x.reader;
oggz_off_t offset_at;
- int i;
if (oggz_io_seek (oggz, offset, whence) == -1) {
return -1;
@@ -119,7 +118,7 @@
ogg_sync_reset (&reader->ogg_sync);
- oggz_vector_foreach1(oggz->streams, oggz_seek_reset_stream, -1);
+ oggz_vector_foreach1(oggz->streams, oggz_seek_reset_stream, (void *)-1);
return offset_at;
}
More information about the commits
mailing list