diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2019-11-09 21:32:09 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2019-12-01 17:17:04 +0100 |
commit | 0ddef00457372d5c0201449e41ff68a8590c94e7 (patch) | |
tree | b06ebc1d3edbd0cc3469a4c8883864354ae85cec /libavcodec/g729dec.c | |
parent | 336f9461df7d2005db9d1af4f5f81fd033025ce2 (diff) | |
download | ffmpeg-0ddef00457372d5c0201449e41ff68a8590c94e7.tar.gz |
avcodec/g729dec: Avoid one multiply by using init_get_bits8()
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/g729dec.c')
-rw-r--r-- | libavcodec/g729dec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/g729dec.c b/libavcodec/g729dec.c index 5257be6e64..c181f23452 100644 --- a/libavcodec/g729dec.c +++ b/libavcodec/g729dec.c @@ -461,7 +461,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame_ptr, frame_erasure |= buf[i]; frame_erasure = !frame_erasure; - init_get_bits(&gb, buf, 8*format->block_size); + init_get_bits8(&gb, buf, format->block_size); ma_predictor = get_bits(&gb, 1); quantizer_1st = get_bits(&gb, VQ_1ST_BITS); |