[xiph-commits] r8067 - branches/theora-mmx/lib/i386

giles at motherfish-iii.xiph.org giles at motherfish-iii.xiph.org
Fri Oct 22 10:05:08 PDT 2004


Author: giles
Date: 2004-10-22 10:05:08 -0700 (Fri, 22 Oct 2004)
New Revision: 8067

Modified:
   branches/theora-mmx/lib/i386/fdct_mmx.c
Log:
Cast to the ogg int16_t instead of the stdint.h type, to avoid compiler
issues on win32. Thanks to TSUJIYAMA Akihiko and Derf for pointing out
the issue.


Modified: branches/theora-mmx/lib/i386/fdct_mmx.c
===================================================================
--- branches/theora-mmx/lib/i386/fdct_mmx.c	2004-10-22 15:41:47 UTC (rev 8066)
+++ branches/theora-mmx/lib/i386/fdct_mmx.c	2004-10-22 17:05:08 UTC (rev 8067)
@@ -301,7 +301,7 @@
 static void fdct_short__mmx ( ogg_int16_t *InputData, ogg_int16_t *OutputData)
 {
   ogg_int64_t __attribute__((aligned(8))) align_tmp[16];
-  ogg_int16_t *const temp= (int16_t*)align_tmp;
+  ogg_int16_t *const temp= (ogg_int16_t*)align_tmp;
 
   __asm__ __volatile__ (
     "  .balign 16                   \n\t"



More information about the commits mailing list