提交 ac457a3b 编写于 作者: C Carl Eugen Hoyos

lavc/vc2enc_dwt: Avoid left-shifting a negative value.

Fixes ticket #7985.
上级 e82a619c
......@@ -66,7 +66,7 @@ static void vc2_subband_dwt_97(VC2TransformContext *t, dwtcoef *data,
*/
for (y = 0; y < synth_height; y++) {
for (x = 0; x < synth_width; x++)
synthl[x] = datal[x] << 1;
synthl[x] = datal[x] * 2;
synthl += synth_width;
datal += stride;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册