significant mem savings
This commit is contained in:
parent
18f8d63e20
commit
fc3b30ccd2
1 changed files with 2 additions and 2 deletions
|
@ -315,9 +315,9 @@ proc decodeSOF0(state: var DecoderState) =
|
||||||
|
|
||||||
# Allocate block data structures.
|
# Allocate block data structures.
|
||||||
component.blocks = newSeqWith(
|
component.blocks = newSeqWith(
|
||||||
component.width,
|
state.numMcuWide * component.yScale,
|
||||||
newSeq[array[64, int16]](
|
newSeq[array[64, int16]](
|
||||||
component.height
|
state.numMcuHigh * component.xScale
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue