Skip to content

Commit

Permalink
Fix dims of single frame
Browse files Browse the repository at this point in the history
  • Loading branch information
ingwinlu committed Jul 12, 2022
1 parent 3aff893 commit 0701a5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ pub fn decode_single_frame_compressed(
pixel_representation: u16,
) -> Result<Box<[u8]>, Error> {
let i_buffers = [i_buffer];
let dims = [1, width, height];
let dims = [width, height, 1];
decode_multi_frame_compressed(
&i_buffers,
&dims,
Expand Down

0 comments on commit 0701a5d

Please sign in to comment.