Bug 1668967 - qcms: Make sure we read the entire output table. r=aosmond

Differential Revision: https://phabricator.services.mozilla.com/D92315
This commit is contained in:
Jeff Muizelaar 2020-10-03 13:59:28 +00:00
Родитель a84069819c
Коммит c78d8d9811
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -963,7 +963,7 @@ fn read_tag_lutType(mut src: &mut mem_source, mut tag: &tag) -> Option<Box<lutTy
let mut output_table =
Vec::with_capacity((num_output_table_entries * out_chan as u16) as usize);
for i in 0..num_output_table_entries * out_chan as u16 {
for i in 0..num_output_table_entries as i32 * out_chan as i32 {
if type_0 == LUT8_TYPE {
output_table.push(uInt8Number_to_float(read_uInt8Number(
src,