diff options
author | Daniil Cherednik <dan.cherednik@gmail.com> | 2024-11-02 22:21:52 +0100 |
---|---|---|
committer | Daniil Cherednik <dan.cherednik@gmail.com> | 2024-11-02 22:21:52 +0100 |
commit | bf225b16dd73d19281970cfc6be76311f0fbf3a6 (patch) | |
tree | 6b8ba99623405dbdd7b37d4062272cfd1e7ccb21 /src/atrac | |
parent | 57ba306db046601b96b5a1943e63574a37c5e96c (diff) | |
parent | d459470e2d8c1cdfc633584b277505ef03565ab1 (diff) | |
download | atracdenc-bf225b16dd73d19281970cfc6be76311f0fbf3a6.tar.gz |
Merge branch 'master' into new_psy
Diffstat (limited to 'src/atrac')
-rw-r--r-- | src/atrac/atrac3_bitstream.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/atrac/atrac3_bitstream.cpp b/src/atrac/atrac3_bitstream.cpp index 78ecaac..3b8337d 100644 --- a/src/atrac/atrac3_bitstream.cpp +++ b/src/atrac/atrac3_bitstream.cpp @@ -345,7 +345,7 @@ uint16_t TAtrac3BitStreamWriter::EncodeTonalComponents(const TSingleChannelEleme uint8_t tcgnCheck = 0; //for each group of equal quantiser and len - for (uint8_t i = 0; i < 64; ++i) { + for (size_t i = 0; i < 64; ++i) { const TTonalComponentsSubGroup& curGroup = groups[i]; if (curGroup.SubGroupPtr.size() == 0) { ASSERT(curGroup.SubGroupMap.size() == 0); @@ -398,7 +398,7 @@ uint16_t TAtrac3BitStreamWriter::EncodeTonalComponents(const TSingleChannelEleme bitStream->Write(i >> 3, 3); uint8_t lastPos = subGroupStartPos; uint8_t checkPos = 0; - for (uint16_t j = 0; j < 16; ++j) { + for (size_t j = 0; j < 16; ++j) { if (!(bandFlags.i[j >> 2])) { continue; } |