diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-09-29 21:24:02 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-09-29 21:44:03 +0200 |
commit | fac3ac3970295c65bd6b30debe973241d5e93f11 (patch) | |
tree | 0d1daef98815a65b05a77bcaa85f4dc3f7b948fe /libavcodec/g723_1.c | |
parent | 11512367d3c6f67b093b54c532328763c9b815e2 (diff) | |
download | ffmpeg-fac3ac3970295c65bd6b30debe973241d5e93f11.tar.gz |
g723.1: use get_bits1()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/g723_1.c')
-rw-r--r-- | libavcodec/g723_1.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/g723_1.c b/libavcodec/g723_1.c index e0e866e640..ebe202dd24 100644 --- a/libavcodec/g723_1.c +++ b/libavcodec/g723_1.c @@ -144,10 +144,10 @@ static int unpack_bitstream(G723_1_Context *p, const uint8_t *buf, } } - p->subframe[0].grid_index = get_bits(&gb, 1); - p->subframe[1].grid_index = get_bits(&gb, 1); - p->subframe[2].grid_index = get_bits(&gb, 1); - p->subframe[3].grid_index = get_bits(&gb, 1); + p->subframe[0].grid_index = get_bits1(&gb); + p->subframe[1].grid_index = get_bits1(&gb); + p->subframe[2].grid_index = get_bits1(&gb); + p->subframe[3].grid_index = get_bits1(&gb); if (p->cur_rate == Rate6k3) { skip_bits(&gb, 1); /* skip reserved bit */ |