X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fvc2enc_dwt.c;h=a8d3f1c6698deb14215b4517aa930f10354a2aef;hb=f34521266ec5816eefa4c10db6098cb91e03c695;hp=d22af8a31380b5accb8d2f58be3c55ae8954ee1f;hpb=fbd607dd560afe44c3b90de1e6cbe5265cac8f1e;p=ffmpeg diff --git a/libavcodec/vc2enc_dwt.c b/libavcodec/vc2enc_dwt.c index d22af8a3138..a8d3f1c6698 100644 --- a/libavcodec/vc2enc_dwt.c +++ b/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; }