mirror of https://git.ffmpeg.org/ffmpeg.git
lavc/vc2enc_dwt: Avoid left-shifting a negative value.
Fixes ticket #7985.
This commit is contained in:
parent
e82a619c2a
commit
ac457a3bc5
|
@ -66,7 +66,7 @@ static void vc2_subband_dwt_97(VC2TransformContext *t, dwtcoef *data,
|
||||||
*/
|
*/
|
||||||
for (y = 0; y < synth_height; y++) {
|
for (y = 0; y < synth_height; y++) {
|
||||||
for (x = 0; x < synth_width; x++)
|
for (x = 0; x < synth_width; x++)
|
||||||
synthl[x] = datal[x] << 1;
|
synthl[x] = datal[x] * 2;
|
||||||
synthl += synth_width;
|
synthl += synth_width;
|
||||||
datal += stride;
|
datal += stride;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue