From 7df479061b94191b12f2a7d58d59e2c714e2abc3 Mon Sep 17 00:00:00 2001 From: Benoit Girard Date: Tue, 24 Feb 2015 19:03:25 -0500 Subject: [PATCH] Bug 1136389 - Fix qcms num in/out channels mismatch. r=jrmuizel --- gfx/qcms/iccread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/qcms/iccread.c b/gfx/qcms/iccread.c index c17f1c193e7..77a92585161 100644 --- a/gfx/qcms/iccread.c +++ b/gfx/qcms/iccread.c @@ -547,7 +547,7 @@ static struct lutmABType *read_tag_lutmABType(struct mem_source *src, struct tag } num_in_channels = read_u8(src, offset + 8); - num_out_channels = read_u8(src, offset + 8); + num_out_channels = read_u8(src, offset + 9); if (num_in_channels > MAX_CHANNELS || num_out_channels > MAX_CHANNELS) return NULL;