From eb73742d6e19d72bced2bfec6f65cd45e93308d1 Mon Sep 17 00:00:00 2001 From: Vitor Sessak Date: Sun, 6 Jul 2008 12:01:59 +0000 Subject: [PATCH] Slighly faster operation Originally committed as revision 14091 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/ra288.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/ra288.c b/libavcodec/ra288.c index f7e1a63d2f..f6e214cd4d 100644 --- a/libavcodec/ra288.c +++ b/libavcodec/ra288.c @@ -196,7 +196,7 @@ static void update(Real288_internal *glob) 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);