Commit ac457a3b authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos

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

Fixes ticket #7985.
parent 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% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment