support decoding M-JPEG streams with any quantization (#566) (#583)

This commit is contained in:
Alessandro Ros
2024-06-22 23:32:31 +02:00
committed by GitHub
parent 3ee5fbdcf7
commit 4750375772
6 changed files with 198 additions and 19 deletions

View File

@@ -28,7 +28,7 @@ var casesQuantizationTable = []struct {
headerQuantizationTable{
MBZ: 1,
Precision: 0,
Tables: bytes.Repeat([]byte{0x01, 0x02, 0x03, 0x04}, 64/4),
Tables: [][]byte{bytes.Repeat([]byte{0x01, 0x02, 0x03, 0x04}, 64/4)},
},
},
}