Browse Source

Use DRMP3_FALSE instead of "false" in MP3 seeking.

Miku AuahDark 3 years ago
parent
commit
5dd7902175
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/modules/sound/lullaby/MP3Decoder.cpp

+ 2 - 2
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;
 }