mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 12:17:44 +00:00
LibAudio: Explicitly support Padding metadata block type
This commit is contained in:
parent
8fd4e2ee40
commit
95968705ce
1 changed files with 2 additions and 1 deletions
|
@ -112,9 +112,10 @@ MaybeLoaderError FlacLoaderPlugin::parse_header()
|
||||||
case (FlacMetadataBlockType::SEEKTABLE):
|
case (FlacMetadataBlockType::SEEKTABLE):
|
||||||
TRY(load_seektable(block));
|
TRY(load_seektable(block));
|
||||||
break;
|
break;
|
||||||
|
case FlacMetadataBlockType::PADDING:
|
||||||
|
// Note: A padding block is empty and does not need any treatment.
|
||||||
default:
|
default:
|
||||||
// TODO: Parse the remaining metadata block types.
|
// TODO: Parse the remaining metadata block types.
|
||||||
// Currently only STREAMINFO and SEEKTABLE are handled.
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
++total_meta_blocks;
|
++total_meta_blocks;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue