summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);