[xiph-commits] r12843 - experimental/j/theora-mashup/lib

j at svn.xiph.org j at svn.xiph.org
Mon Apr 9 12:18:34 PDT 2007


Author: j
Date: 2007-04-09 12:18:33 -0700 (Mon, 09 Apr 2007)
New Revision: 12843

Modified:
   experimental/j/theora-mashup/lib/cpu.c
Log:
initialize flags to 0

Modified: experimental/j/theora-mashup/lib/cpu.c
===================================================================
--- experimental/j/theora-mashup/lib/cpu.c	2007-04-09 19:12:19 UTC (rev 12842)
+++ experimental/j/theora-mashup/lib/cpu.c	2007-04-09 19:18:33 UTC (rev 12843)
@@ -16,12 +16,12 @@
 
 
 ogg_uint32_t oc_cpu_flags_get(void){
-  ogg_uint32_t flags;
-#if defined(USE_ASM)
+  ogg_uint32_t flags = 0;
   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__( \



More information about the commits mailing list