diff ra288.c @ 7212:bced5f60fcaf libavcodec

Slighly faster operation
author vitor
date Sun, 06 Jul 2008 12:01:59 +0000
parents 43048f7a1d7c
children cf82f8a56940
line wrap: on
line diff
--- a/ra288.c	Sun Jul 06 10:49:28 2008 +0000
+++ b/ra288.c	Sun Jul 06 12:01:59 2008 +0000
@@ -196,7 +196,7 @@
 
     y = glob->phase + 1;
     for (x=0; x < 8; x++)
-        buffer2[x] = glob->history[(y++) % 8];
+        buffer2[x] = glob->history[(y++) & 7];
 
     co(10, 8, 20, buffer2, temp2, glob->st2a, glob->st2b, table2);