X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fvc2enc_dwt.c;h=a8d3f1c6698deb14215b4517aa930f10354a2aef;hb=497e7473877243ff8ae02d8701aaf7854b9b57bf;hp=d22af8a31380b5accb8d2f58be3c55ae8954ee1f;hpb=52b44e9d15c0ee3c118ed68a0c2c737a9eb50ae9;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; }