std/jpeg: grow quant_tables' elements, s/u8/u16/

This commit is contained in:
Nigel Tao committed 2023-07-17 10:27:49 +10:00
1 parent e5b6f2563e
commit 0af626b850
6 files changed
+28 -20

No files matched your search

+1 -1
View File
@@ -550,7 +550,7 @@ test_wuffs_jpeg_decode_idct() {
// This is "test/data/bricks-color.jpeg"'s first quantization table, in
// natural (not zig-zag) order.
const uint8_t quant_table[64] = {
const uint16_t quant_table[64] = {
0x03, 0x02, 0x02, 0x03, 0x04, 0x06, 0x08, 0x0A, //
0x02, 0x02, 0x02, 0x03, 0x04, 0x09, 0x0A, 0x09, //
0x02, 0x02, 0x03, 0x04, 0x06, 0x09, 0x0B, 0x09, //