1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 06:27:45 +00:00

LibAudio: Explicitly support Padding metadata block type

This commit is contained in:
Lucas CHOLLET 2022-10-02 16:27:18 +02:00 committed by Andrew Kaster
parent 8fd4e2ee40
commit 95968705ce

View file

@ -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;