aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/lagarith.c
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2012-05-05 13:45:03 +0200
committerKostya Shishkov <kostya.shishkov@gmail.com>2012-05-06 09:32:08 +0200
commit1fdb5649d934df19237d5f53c10ae1fff5934e2a (patch)
tree5051af21c6d4e1f6ecfde9b34cc49bbf7e58a2b6 /libavcodec/lagarith.c
parent8099187e897ddc90cb3902332c76fb2542dac308 (diff)
downloadffmpeg-1fdb5649d934df19237d5f53c10ae1fff5934e2a.tar.gz
lagarith: make offset array type unsigned
This is logical and also fixes checking for the fourth plane offset.
Diffstat (limited to 'libavcodec/lagarith.c')
-rw-r--r--libavcodec/lagarith.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/lagarith.c b/libavcodec/lagarith.c
index d6921ea4eb..b27e755a86 100644
--- a/libavcodec/lagarith.c
+++ b/libavcodec/lagarith.c
@@ -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;