diff options
author | Jean-Michel Trivi <jmtrivi@google.com> | 2018-09-06 23:02:17 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2018-09-06 23:02:17 +0000 |
commit | 42f714f2ab2bc90ee320ef5f071a078179a59405 (patch) | |
tree | 630a5e3b45019785d952869e743e4f681d2278f4 /libFDK/include/FDK_bitbuffer.h | |
parent | 4d801e44baece3ce866fd31538f8569d148bd372 (diff) | |
parent | 15292f7e9620caf9e8df26a62efc2a2891ea822e (diff) | |
download | fdk-aac-42f714f2ab2bc90ee320ef5f071a078179a59405.tar.gz fdk-aac-42f714f2ab2bc90ee320ef5f071a078179a59405.tar.bz2 fdk-aac-42f714f2ab2bc90ee320ef5f071a078179a59405.zip |
Merge "Prevent bit buffer counter overflow." into pi-dev
Diffstat (limited to 'libFDK/include/FDK_bitbuffer.h')
-rw-r--r-- | libFDK/include/FDK_bitbuffer.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/libFDK/include/FDK_bitbuffer.h b/libFDK/include/FDK_bitbuffer.h index ed0b2f6..19a24b3 100644 --- a/libFDK/include/FDK_bitbuffer.h +++ b/libFDK/include/FDK_bitbuffer.h @@ -113,7 +113,6 @@ typedef struct { UINT ValidBits; UINT ReadOffset; UINT WriteOffset; - UINT BitCnt; UINT BitNdx; UCHAR *Buffer; @@ -159,15 +158,10 @@ void FDK_pushBack(HANDLE_FDK_BITBUF hBitBuffer, const UINT numberOfBits, void FDK_pushForward(HANDLE_FDK_BITBUF hBitBuffer, const UINT numberOfBits, UCHAR config); -void FDK_byteAlign(HANDLE_FDK_BITBUF hBitBuffer, UCHAR config); - UINT FDK_getValidBits(HANDLE_FDK_BITBUF hBitBuffer); INT FDK_getFreeBits(HANDLE_FDK_BITBUF hBitBuffer); -void FDK_setBitCnt(HANDLE_FDK_BITBUF hBitBuffer, const UINT value); -INT FDK_getBitCnt(HANDLE_FDK_BITBUF hBitBuffer); - void FDK_Feed(HANDLE_FDK_BITBUF hBitBuffer, const UCHAR inputBuffer[], const UINT bufferSize, UINT *bytesValid); |