diff --git a/libavcodec/dxtory.c b/libavcodec/dxtory.c index bc95e0e7e1..7143a11e2e 100644 --- a/libavcodec/dxtory.c +++ b/libavcodec/dxtory.c @@ -717,7 +717,7 @@ static int dx2_decode_slice_420(GetBitContext *gb, AVFrame *frame, V[huvborder] = decode_sym(gb, lru[2]) ^ 0x80; } - Y += ystride << 1; + Y += ystride * 2; U += ustride; V += vstride; }