summaryrefslogtreecommitdiff
path: root/Userland
diff options
context:
space:
mode:
authorLucas CHOLLET <lucas.chollet@free.fr>2022-10-02 16:41:12 +0200
committerAndrew Kaster <andrewdkaster@gmail.com>2022-11-13 18:51:18 -0700
commit706638a0d0e1a8ca0733ca0c07fd3037885dc62b (patch)
tree94099ebde94bcd5fdf2d68a18edf511221d229c7 /Userland
parent95968705ce7d24c13370547e92d907371642700f (diff)
downloadserenity-706638a0d0e1a8ca0733ca0c07fd3037885dc62b.zip
LibAudio: Explicitly support Application metadata block type
Diffstat (limited to 'Userland')
-rw-r--r--Userland/Libraries/LibAudio/FlacLoader.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Userland/Libraries/LibAudio/FlacLoader.cpp b/Userland/Libraries/LibAudio/FlacLoader.cpp
index 7ce93253f4..b2ccd38dd9 100644
--- a/Userland/Libraries/LibAudio/FlacLoader.cpp
+++ b/Userland/Libraries/LibAudio/FlacLoader.cpp
@@ -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: