mirror of
https://github.com/Serial-ATA/lofty-rs
synced 2024-12-14 06:32:33 +00:00
RiffTag return default on error
This commit is contained in:
parent
134bef896a
commit
1c1b7f5916
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ impl RiffTag {
|
|||
{
|
||||
Ok(Self {
|
||||
inner: RiffInnerTag {
|
||||
data: riff::read_from(reader)?,
|
||||
data: riff::read_from(reader).unwrap_or_default(),
|
||||
},
|
||||
_format: TagType::RiffInfo,
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue