From 5dd7902175bc8348c3d812a9698aed6644aa00c6 Mon Sep 17 00:00:00 2001 From: Miku AuahDark Date: Mon, 2 May 2022 09:44:56 +0800 Subject: [PATCH] Use DRMP3_FALSE instead of "false" in MP3 seeking. --- src/modules/sound/lullaby/MP3Decoder.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/sound/lullaby/MP3Decoder.cpp b/src/modules/sound/lullaby/MP3Decoder.cpp index 4c73da29c..1c73aa10b 100644 --- a/src/modules/sound/lullaby/MP3Decoder.cpp +++ b/src/modules/sound/lullaby/MP3Decoder.cpp @@ -126,11 +126,11 @@ drmp3_bool32 MP3Decoder::onSeek(void *pUserData, int offset, drmp3_seek_origin o pos = decoder->stream->tell() + offset; break; default: - return false; + return DRMP3_FALSE; } if (pos < decoder->offset) - return false; + return DRMP3_FALSE; return decoder->stream->seek(pos, Stream::SEEKORIGIN_BEGIN) ? DRMP3_TRUE : DRMP3_FALSE; }