Change Header::default() impl so it's a valid one
This commit is contained in:
parent
7d0b0a5b62
commit
236f55ed3c
1 changed files with 2 additions and 2 deletions
|
@ -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(),
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue