significant mem savings

This commit is contained in:
Ryan Oldenburg 2022-05-25 21:42:55 -05:00
parent 18f8d63e20
commit fc3b30ccd2

View file

@ -315,9 +315,9 @@ proc decodeSOF0(state: var DecoderState) =
# Allocate block data structures.
component.blocks = newSeqWith(
component.width,
state.numMcuWide * component.yScale,
newSeq[array[64, int16]](
component.height
state.numMcuHigh * component.xScale
)
)