summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavcodec/mace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mace.c b/libavcodec/mace.c
index 255ba87be0..d90f9b7bfb 100644
--- a/libavcodec/mace.c
+++ b/libavcodec/mace.c
@@ -205,7 +205,7 @@ static void chomp6(ChannelData *chd, int16_t *output, uint8_t val,
current = mace_broken_clip_int16(current + chd->level);
- chd->level = ((current*chd->factor) >> 15);
+ chd->level = (current*chd->factor) >> 15;
current >>= 1;
output[0] = QT_8S_2_16S(chd->previous + chd->prev2 -