Skip to content

Commit 894bcaa

Browse files
committed
1 parent 5abf125 commit 894bcaa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/decoder.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -787,8 +787,8 @@ fn compute_image(components: &[Component],
787787
let mut buffer = vec![0u8; width * height];
788788
let line_stride = component.block_size.width as usize * component.dct_scale;
789789

790-
for y in 0 .. width {
791-
for x in 0 .. height {
790+
for y in 0 .. height {
791+
for x in 0 .. width {
792792
buffer[y * width + x] = data[0][y * line_stride + x];
793793
}
794794
}

0 commit comments

Comments
 (0)