[xiph-commits] r17385 - experimental/derf/theora-ptalarbvorm/lib

tterribe at svn.xiph.org tterribe at svn.xiph.org
Wed Sep 15 00:21:11 PDT 2010


Author: tterribe
Date: 2010-09-15 00:21:11 -0700 (Wed, 15 Sep 2010)
New Revision: 17385

Modified:
   experimental/derf/theora-ptalarbvorm/lib/decode.c
Log:
Make dct_coeffs in oc_dec_frags_recon_mcu_plane() 16-byte aligned.

This is a forward port of this change from theora-gumboot, required for the
 SSE2 idct.


Modified: experimental/derf/theora-ptalarbvorm/lib/decode.c
===================================================================
--- experimental/derf/theora-ptalarbvorm/lib/decode.c	2010-09-12 21:21:21 UTC (rev 17384)
+++ experimental/derf/theora-ptalarbvorm/lib/decode.c	2010-09-15 07:21:11 UTC (rev 17385)
@@ -1535,7 +1535,7 @@
     /*This array is made one element larger because the zig-zag index array
        uses the final element as a dumping ground for out-of-range indices
        to protect us from buffer overflow.*/
-    OC_ALIGN8(ogg_int16_t dct_coeffs[65]);
+    OC_ALIGN16(ogg_int16_t dct_coeffs[65]);
     const ogg_uint16_t *ac_quant;
     ptrdiff_t           fragi;
     int                 last_zzi;



More information about the commits mailing list