summaryrefslogtreecommitdiff
path: root/src/codecs/include
diff options
context:
space:
mode:
authorjacqueline <me@jacqueline.id.au>2023-10-10 13:13:41 +1100
committerjacqueline <me@jacqueline.id.au>2023-10-10 13:13:41 +1100
commitb0d85fc0d6ede34e4310d7d4fa69b8b94b8571b1 (patch)
tree479433090bff32cae828d601a290233f362c1703 /src/codecs/include
parent6c20eafd05025b5c65b975d10ec72005ea3966ec (diff)
downloadtangara-fw-b0d85fc0d6ede34e4310d7d4fa69b8b94b8571b1.tar.gz
Skip ID3 tags in the mad decoder; mad itself sometimes chokes on them
Diffstat (limited to 'src/codecs/include')
-rw-r--r--src/codecs/include/mad.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/codecs/include/mad.hpp b/src/codecs/include/mad.hpp
index 2a8813e9..ef4e91f8 100644
--- a/src/codecs/include/mad.hpp
+++ b/src/codecs/include/mad.hpp
@@ -38,6 +38,7 @@ class MadMp3Decoder : public ICodec {
MadMp3Decoder& operator=(const MadMp3Decoder&) = delete;
private:
+ auto SkipID3Tags(IStream &stream) -> void;
auto GetVbrLength(const mad_header& header) -> std::optional<uint32_t>;
auto GetBytesUsed() -> std::size_t;