Skip to content
Snippets Groups Projects
Commit 893f1376 authored by Aneesh Dogra's avatar Aneesh Dogra Committed by Ronald S. Bultje
Browse files

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: default avatarRonald S. Bultje <rsbultje@gmail.com>
parent feb15cee
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment