[xiph-commits] r9497 - trunk/vorbis-tools/ogginfo

giles at svn.xiph.org giles at svn.xiph.org
Tue Jun 21 03:51:44 PDT 2005


Author: giles
Date: 2005-06-21 03:51:41 -0700 (Tue, 21 Jun 2005)
New Revision: 9497

Modified:
   trunk/vorbis-tools/ogginfo/theora.c
Log:
Correct some warnings.


Modified: trunk/vorbis-tools/ogginfo/theora.c
===================================================================
--- trunk/vorbis-tools/ogginfo/theora.c	2005-06-21 01:25:38 UTC (rev 9496)
+++ trunk/vorbis-tools/ogginfo/theora.c	2005-06-21 10:51:41 UTC (rev 9497)
@@ -21,15 +21,6 @@
 
 #define theora_read(x,y,z) ( *z = oggpackB_read(x,y) )
 
-static int _ilog(unsigned int v){
-  int ret=0;
-  while(v){
-    ret++;
-    v>>=1;
-  }
-  return(ret);
-}
-
 static void _tp_readbuffer(oggpack_buffer *opb, char *buf, const long len)
 {
   long i;
@@ -151,6 +142,7 @@
 
 static int _theora_unpack_tables(theora_info *c, oggpack_buffer *opb){
   /* NOP: ogginfo doesn't use this information */
+  return 0;
 }
 
 int theora_decode_header(theora_info *ci, theora_comment *cc, ogg_packet *op){



More information about the commits mailing list