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 {
|
fn default() -> Self {
|
||||||
Self {
|
Self {
|
||||||
magic: QOI_MAGIC,
|
magic: QOI_MAGIC,
|
||||||
width: 0,
|
width: 1,
|
||||||
height: 0,
|
height: 1,
|
||||||
channels: 3,
|
channels: 3,
|
||||||
colorspace: ColorSpace::default(),
|
colorspace: ColorSpace::default(),
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue