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

LibAudio: Explicitly support Application metadata block type

This commit is contained in:
Lucas CHOLLET 2022-10-02 16:41:12 +02:00 committed by Andrew Kaster
parent 95968705ce
commit 706638a0d0

View file

@ -112,6 +112,10 @@ MaybeLoaderError FlacLoaderPlugin::parse_header()
case (FlacMetadataBlockType::SEEKTABLE):
TRY(load_seektable(block));
break;
case FlacMetadataBlockType::APPLICATION:
// Note: Third-party library can encode specific data in this.
dbgln("Unknown 'Application' metadata block encountered.");
[[fallthrough]];
case FlacMetadataBlockType::PADDING:
// Note: A padding block is empty and does not need any treatment.
default: