Commit 3ed0f402 authored by David Reid's avatar David Reid

Update dr_flac.

parent dbd236da
// FLAC audio decoder. Public domain. See "unlicense" statement at the end of this file. // FLAC audio decoder. Public domain. See "unlicense" statement at the end of this file.
// dr_flac - v0.9.6 - 2018-06-29 // dr_flac - v0.9.7 - 2018-07-05
// //
// David Reid - mackron@gmail.com // David Reid - mackron@gmail.com
...@@ -1483,6 +1483,7 @@ static drflac_bool32 drflac__read_int32(drflac_bs* bs, unsigned int bitCount, dr ...@@ -1483,6 +1483,7 @@ static drflac_bool32 drflac__read_int32(drflac_bs* bs, unsigned int bitCount, dr
return DRFLAC_TRUE; return DRFLAC_TRUE;
} }
#ifdef DRFLAC_64BIT
static drflac_bool32 drflac__read_uint64(drflac_bs* bs, unsigned int bitCount, drflac_uint64* pResultOut) static drflac_bool32 drflac__read_uint64(drflac_bs* bs, unsigned int bitCount, drflac_uint64* pResultOut)
{ {
drflac_assert(bitCount <= 64); drflac_assert(bitCount <= 64);
...@@ -1501,6 +1502,7 @@ static drflac_bool32 drflac__read_uint64(drflac_bs* bs, unsigned int bitCount, d ...@@ -1501,6 +1502,7 @@ static drflac_bool32 drflac__read_uint64(drflac_bs* bs, unsigned int bitCount, d
*pResultOut = (((drflac_uint64)resultHi) << 32) | ((drflac_uint64)resultLo); *pResultOut = (((drflac_uint64)resultHi) << 32) | ((drflac_uint64)resultLo);
return DRFLAC_TRUE; return DRFLAC_TRUE;
} }
#endif
// Function below is unused, but leaving it here in case I need to quickly add it again. // Function below is unused, but leaving it here in case I need to quickly add it again.
#if 0 #if 0
...@@ -5719,6 +5721,9 @@ const char* drflac_next_vorbis_comment(drflac_vorbis_comment_iterator* pIter, dr ...@@ -5719,6 +5721,9 @@ const char* drflac_next_vorbis_comment(drflac_vorbis_comment_iterator* pIter, dr
// REVISION HISTORY // REVISION HISTORY
// //
// v0.9.7 - 2018-07-05
// - Fix a warning.
//
// v0.9.6 - 2018-06-29 // v0.9.6 - 2018-06-29
// - Fix some typos. // - Fix some typos.
// //
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment