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

Fixes ticket #7985.
This commit is contained in:
Carl Eugen Hoyos 2019-07-02 11:38:14 +02:00
parent e82a619c2a
commit ac457a3bc5
1 changed files with 1 additions and 1 deletions

View File

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