diff --git a/libavcodec/osq.c b/libavcodec/osq.c index 650cfcd98c..fa4aeee35e 100644 --- a/libavcodec/osq.c +++ b/libavcodec/osq.c @@ -320,7 +320,7 @@ static int do_decode(AVCodecContext *avctx, AVFrame *frame, int decorrelate, int cb->prev = prev; if (downsample) - dst[n] *= 256; + dst[n] *= 256U; dst[E] = dst[D]; dst[D] = dst[C];