summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVitor Sessak <vitor1001@gmail.com>2008-07-06 12:01:59 +0000
committerVitor Sessak <vitor1001@gmail.com>2008-07-06 12:01:59 +0000
commiteb73742d6e19d72bced2bfec6f65cd45e93308d1 (patch)
tree9a2b4dd06a65545c017d378afbc97a6356a7be72
parent0bbab5671dde1f723c8f0c196d751d623f0e1a51 (diff)
Slighly faster operation
Originally committed as revision 14091 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/ra288.c2
1 files changed, 1 insertions, 1 deletions
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);