Merge remote-tracking branches 'neheb/uniq', 'neheb/bool', 'neheb/loop', 'neheb/bool2', 'neheb/perf', 'neheb/void' and 'neheb/value'
This commit is contained in:
@@ -102,7 +102,7 @@ flac_scan_stream(InputStream &is, TagHandler &handler) noexcept
|
||||
* Some glue code around FLAC__stream_decoder_new().
|
||||
*/
|
||||
static FlacStreamDecoder
|
||||
flac_decoder_new(void)
|
||||
flac_decoder_new()
|
||||
{
|
||||
FlacStreamDecoder sd;
|
||||
if(!FLAC__stream_decoder_set_metadata_respond(sd.get(), FLAC__METADATA_TYPE_VORBIS_COMMENT))
|
||||
|
@@ -516,8 +516,8 @@ parse_xing(struct xing *xing, struct mad_bitptr *ptr, int *oldbitlen) noexcept
|
||||
if (xing->flags & XING_TOC) {
|
||||
if (bitlen < 800)
|
||||
return false;
|
||||
for (unsigned i = 0; i < 100; ++i)
|
||||
xing->toc[i] = mad_bit_read(ptr, 8);
|
||||
for (unsigned char & i : xing->toc)
|
||||
i = mad_bit_read(ptr, 8);
|
||||
bitlen -= 800;
|
||||
}
|
||||
|
||||
|
@@ -38,24 +38,24 @@ static constexpr Domain mikmod_domain("mikmod");
|
||||
static constexpr size_t MIKMOD_FRAME_SIZE = 4096;
|
||||
|
||||
static BOOL
|
||||
mikmod_mpd_init(void)
|
||||
mikmod_mpd_init()
|
||||
{
|
||||
return VC_Init();
|
||||
}
|
||||
|
||||
static void
|
||||
mikmod_mpd_exit(void)
|
||||
mikmod_mpd_exit()
|
||||
{
|
||||
VC_Exit();
|
||||
}
|
||||
|
||||
static void
|
||||
mikmod_mpd_update(void)
|
||||
mikmod_mpd_update()
|
||||
{
|
||||
}
|
||||
|
||||
static BOOL
|
||||
mikmod_mpd_is_present(void)
|
||||
mikmod_mpd_is_present()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user