diff options
author | Rostislav Pehlivanov <atomnuker@gmail.com> | 2017-02-01 06:13:04 +0300 |
---|---|---|
committer | Rostislav Pehlivanov <atomnuker@gmail.com> | 2017-02-04 15:07:52 +0300 |
commit | 084f3addda7531a22d656b769120c6453e880226 (patch) | |
tree | ac3868fcb640fff19c01ae8c02604589ad893d1b /libavcodec/opus_celt.c | |
parent | 8b80feb9a70bca07e6ea2e1a0b870915e88f13f7 (diff) |
opus_rc: rename total_bits_used to total_bits and #define some constants
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
Diffstat (limited to 'libavcodec/opus_celt.c')
-rw-r--r-- | libavcodec/opus_celt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/opus_celt.c b/libavcodec/opus_celt.c index c115ee7ad3..96fedb7a49 100644 --- a/libavcodec/opus_celt.c +++ b/libavcodec/opus_celt.c @@ -1641,7 +1641,7 @@ int ff_celt_decode_frame(CeltContext *s, OpusRangeCoder *rc, if (silence) { consumed = s->framebits; - rc->total_read_bits += s->framebits - opus_rc_tell(rc); + rc->total_bits += s->framebits - opus_rc_tell(rc); } /* obtain post-filter options */ |