diff --git a/libavcodec/dxtory.c b/libavcodec/dxtory.c index 285ca38efb..b2daaa7cc2 100644 --- a/libavcodec/dxtory.c +++ b/libavcodec/dxtory.c @@ -442,7 +442,7 @@ static int dx2_decode_slice_410(GetBitContext *gb, AVFrame *frame, V[x >> 2] = decode_sym(gb, lru[2]) ^ 0x80; } - Y += ystride << 2; + Y += ystride * 4; U += ustride; V += vstride; }