提交 99500736 编写于 作者: C Christophe Gisquet 提交者: Michael Niedermayer

alacenc: remove unneeded masking

The extra bits have already been masked, so this was not doing anything.

Noticed-by: Justin Ruggles
Signed-off-by: NMichael Niedermayer <michaelni@gmx.at>
上级 a0844935
......@@ -432,7 +432,7 @@ static void write_element(AlacEncodeContext *s,
uint32_t mask = (1 << s->extra_bits) - 1;
for (i = 0; i < s->frame_size; i++) {
for (j = 0; j < channels; j++) {
put_bits(pb, s->extra_bits, s->predictor_buf[j][i] & mask);
put_bits(pb, s->extra_bits, s->predictor_buf[j][i]);
}
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册