Prevent bit buffer counter overflow.
While long-term test we discovered a bit counter overflow in the bit buffer.
The bit buffer state was only used by HCR and RVLC tool and can easily be substituted with FDKgetValidBits() call.
The following patch completely removes the bit counter and all its obsolete functions.
Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc
(cherry picked from commit 15292f7e9620caf9e8df26a62efc2a2891ea822e)
12 files changed