[FFmpeg-cvslog] lagarith: make offset array type unsigned
Kostya Shishkov
git at videolan.org
Sun May 6 22:18:59 CEST 2012
ffmpeg | branch: master | Kostya Shishkov <kostya.shishkov at gmail.com> | Sat May 5 13:45:03 2012 +0200| [1fdb5649d934df19237d5f53c10ae1fff5934e2a] | committer: Kostya Shishkov
lagarith: make offset array type unsigned
This is logical and also fixes checking for the fourth plane offset.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1fdb5649d934df19237d5f53c10ae1fff5934e2a
---
libavcodec/lagarith.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavcodec/lagarith.c b/libavcodec/lagarith.c
index d6921ea..b27e755 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;
More information about the ffmpeg-cvslog
mailing list