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