diff options
author | foo86 <foobaz86@gmail.com> | 2017-07-10 17:11:40 +0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2017-07-18 21:04:58 -0300 |
commit | 012620aa1b40b0642e3081871059a1be98411df4 (patch) | |
tree | 3967cb2f558b93363756ee302c2e07103fe42f4a /libavcodec/dca_core.h | |
parent | 902cd30e9b72d3ad5dfe01b27e3dd0928ad88562 (diff) | |
download | ffmpeg-012620aa1b40b0642e3081871059a1be98411df4.tar.gz |
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.h | 1 |
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 |