diff --git a/libavcodec/cfhd.c b/libavcodec/cfhd.c index 2408dca385..1dc9292421 100644 --- a/libavcodec/cfhd.c +++ b/libavcodec/cfhd.c @@ -679,7 +679,7 @@ static int cfhd_decode(AVCodecContext *avctx, void *data, int *got_frame, output = s->plane[plane].subband[0]; for (i = 0; i < lowpass_height * 2; i++) { for (j = 0; j < lowpass_width * 2; j++) - output[j] <<= 2; + output[j] *= 4; output += lowpass_width * 2; }