diff --git a/libavcodec/dvdec.c b/libavcodec/dvdec.c index 679075e6a9..1a3983b501 100644 --- a/libavcodec/dvdec.c +++ b/libavcodec/dvdec.c @@ -347,7 +347,7 @@ retry: dct_mode * 22 * 64 + (quant + ff_dv_quant_offset[class1]) * 64]; } - dc = dc << 2; + dc = dc * 4; /* convert to unsigned because 128 is not added in the * standard IDCT */ dc += 1024;