Commit 893f1376 authored by Aneesh Dogra's avatar Aneesh Dogra Committed by Ronald S. Bultje

4xm: fix calculation of the next output line position in decode_i2_frame().

The current code doesn't work unless width is an exact multiple of 16.
Signed-off-by: 's avatarRonald S. Bultje <rsbultje@gmail.com>
parent feb15cee
......@@ -640,7 +640,7 @@ static int decode_i2_frame(FourXContext *f, const uint8_t *buf, int length){
}
dst+=16;
}
dst += 16*stride - width;
dst += 16 * stride - x;
}
return 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment