mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:07:34 +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):
|
||||
TRY(load_seektable(block));
|
||||
break;
|
||||
case FlacMetadataBlockType::PADDING:
|
||||
// Note: A padding block is empty and does not need any treatment.
|
||||
default:
|
||||
// TODO: Parse the remaining metadata block types.
|
||||
// Currently only STREAMINFO and SEEKTABLE are handled.
|
||||
break;
|
||||
}
|
||||
++total_meta_blocks;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue