1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

lagarith: make offset array type unsigned

This is logical and also fixes checking for the fourth plane offset.
This commit is contained in:
Kostya Shishkov 2012-05-05 13:45:03 +02:00
parent 8099187e89
commit 1fdb5649d9

View File

@ -457,7 +457,7 @@ static int lag_decode_frame(AVCodecContext *avctx,
AVFrame *const p = &l->picture;
uint8_t frametype = 0;
uint32_t offset_gu = 0, offset_bv = 0, offset_ry = 9;
int offs[4];
uint32_t offs[4];
uint8_t *srcs[4], *dst;
int i, j, planes = 3;