mirror of
https://github.com/Serial-ATA/lofty-rs
synced 2025-01-05 16:58:45 +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 {
|
Ok(Self {
|
||||||
inner: RiffInnerTag {
|
inner: RiffInnerTag {
|
||||||
data: riff::read_from(reader)?,
|
data: riff::read_from(reader).unwrap_or_default(),
|
||||||
},
|
},
|
||||||
_format: TagType::RiffInfo,
|
_format: TagType::RiffInfo,
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue