[xiph-commits] r14077 - in trunk/theora/lib: . dec enc

giles at svn.xiph.org giles at svn.xiph.org
Wed Oct 31 14:24:13 PDT 2007


Author: giles
Date: 2007-10-31 14:24:13 -0700 (Wed, 31 Oct 2007)
New Revision: 14077

Modified:
   trunk/theora/lib/cpu.c
   trunk/theora/lib/dec/decode.c
   trunk/theora/lib/enc/frarray.c
Log:
Remove some unused variables.


Modified: trunk/theora/lib/cpu.c
===================================================================
--- trunk/theora/lib/cpu.c	2007-10-31 21:16:05 UTC (rev 14076)
+++ trunk/theora/lib/cpu.c	2007-10-31 21:24:13 UTC (rev 14077)
@@ -23,11 +23,11 @@
 
 ogg_uint32_t oc_cpu_flags_get(void){
   ogg_uint32_t flags = 0;
+#if defined(USE_ASM)
   ogg_uint32_t eax;
   ogg_uint32_t ebx;
   ogg_uint32_t ecx;
   ogg_uint32_t edx;
-#if defined(USE_ASM)
 #if (defined(__amd64__) || defined(__x86_64__))
 # define cpuid(_op,_eax,_ebx,_ecx,_edx) \
   __asm__ __volatile__( \

Modified: trunk/theora/lib/dec/decode.c
===================================================================
--- trunk/theora/lib/dec/decode.c	2007-10-31 21:16:05 UTC (rev 14076)
+++ trunk/theora/lib/dec/decode.c	2007-10-31 21:24:13 UTC (rev 14077)
@@ -700,7 +700,9 @@
   const int              *map_idxs;
   long                    val;
   int                     map_nidxs;
+#ifdef _TH_DEBUG_
   int                     j=0;
+#endif
   oc_mv                   last_mv[2];
   oc_mv                   cbmvs[4];
   set_chroma_mvs=OC_SET_CHROMA_MVS_TABLE[_dec->state.info.pixel_fmt];

Modified: trunk/theora/lib/enc/frarray.c
===================================================================
--- trunk/theora/lib/enc/frarray.c	2007-10-31 21:16:05 UTC (rev 14076)
+++ trunk/theora/lib/enc/frarray.c	2007-10-31 21:24:13 UTC (rev 14077)
@@ -108,7 +108,7 @@
 }
 
 void PackAndWriteDFArray( CP_INSTANCE *cpi ){
-  ogg_uint32_t  i,j,k;
+  ogg_uint32_t  i;
   unsigned char val;
   ogg_uint32_t  run_count;
 



More information about the commits mailing list