mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1136389 - Fix qcms num in/out channels mismatch. r=jrmuizel
This commit is contained in:
parent
c21ada0d82
commit
7df479061b
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user