Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfoo86 <foobaz86@gmail.com>2017-07-10 17:11:40 +0300
committerJames Almer <jamrial@gmail.com>2017-07-19 03:04:58 +0300
commit012620aa1b40b0642e3081871059a1be98411df4 (patch)
tree3967cb2f558b93363756ee302c2e07103fe42f4a /libavcodec/dca_core.h
parent902cd30e9b72d3ad5dfe01b27e3dd0928ad88562 (diff)
avcodec/dca: avoid using bitstream reader in a non-standard way
Use proper get_bits.h functions instead of directly accessing index. Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/dca_core.h')
-rw-r--r--libavcodec/dca_core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/dca_core.h b/libavcodec/dca_core.h
index cce0ffd7b1..10128d1e32 100644
--- a/libavcodec/dca_core.h
+++ b/libavcodec/dca_core.h
@@ -101,6 +101,7 @@ typedef struct DCADSPData {
typedef struct DCACoreDecoder {
AVCodecContext *avctx;
GetBitContext gb;
+ GetBitContext gb_in;
// Bit stream header
int crc_present; ///< CRC present flag