Skip to content

Commit

Permalink
Update some inline comments
Browse files Browse the repository at this point in the history
  • Loading branch information
weiji14 committed Mar 4, 2024
1 parent 1c3c9de commit 82c003d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/decoder/image.rs
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ impl Image {
_ => Ok(ColorType::Multiband {
bit_depth: self.bits_per_sample,
num_samples: self.samples,
}), // Samples >= 1
}),
}
}
// TODO: this is bad we should not fail at this point
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@ pub enum ColorType {
/// Pixel is YCbCr
YCbCr(u8),

/// Pixel is multiband
/// Pixel has multiple bands/channels
Multiband { bit_depth: u8, num_samples: u16 },
}

0 comments on commit 82c003d

Please sign in to comment.