Bug 1136389 - Fix qcms num in/out channels mismatch. r=jrmuizel

This commit is contained in:
Benoit Girard 2015-02-24 19:03:25 -05:00
parent c21ada0d82
commit 7df479061b

View File

@ -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;