Change Header::default() impl so it's a valid one

This commit is contained in:
Ivan Smirnov 2021-11-29 22:30:53 +00:00
parent 7d0b0a5b62
commit 236f55ed3c

View file

@ -14,8 +14,8 @@ impl Default for Header {
fn default() -> Self {
Self {
magic: QOI_MAGIC,
width: 0,
height: 0,
width: 1,
height: 1,
channels: 3,
colorspace: ColorSpace::default(),
}