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

Fixes ticket #7985.
pull/344/head
Carl Eugen Hoyos 6 years ago
parent e82a619c2a
commit ac457a3bc5
  1. 2
      libavcodec/vc2enc_dwt.c

@ -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;
}

Loading…
Cancel
Save