]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/vc2enc_dwt.c
avcodec/mpegvideo_enc: Remove redundant pixel format checks
[ffmpeg] / libavcodec / vc2enc_dwt.c
index d22af8a31380b5accb8d2f58be3c55ae8954ee1f..a8d3f1c6698deb14215b4517aa930f10354a2aef 100644 (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;
     }