summaryrefslogtreecommitdiff
path: root/src/audio
diff options
context:
space:
mode:
Diffstat (limited to 'src/audio')
-rw-r--r--src/audio/tracker.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/audio/tracker.cc b/src/audio/tracker.cc
index 93c279e..d9beb56 100644
--- a/src/audio/tracker.cc
+++ b/src/audio/tracker.cc
@@ -158,8 +158,9 @@ void tracker_init() {
}
} else
#else
- FATAL_CHECK(data == nullptr || GetAssetType(aid) != AssetType::MP3,
- "MP3 assets not supported in STRIP_ALL builds\n");
+ if (data != nullptr && GetAssetType(aid) == AssetType::MP3) {
+ continue; // MP3 decoding not available in STRIP_ALL builds
+ }
#endif
if (data && size >= sizeof(SpecHeader)) {
const SpecHeader* header = (const SpecHeader*)data;