changeset 7212:bced5f60fcaf libavcodec

Slighly faster operation
author vitor
date Sun, 06 Jul 2008 12:01:59 +0000
parents d1e6d44fab47
children cf82f8a56940
files ra288.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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);