mirror of
https://git.videolan.org/git/ffmpeg.git
synced 2024-09-10 09:31:06 +02:00
g723.1: use get_bits1()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
11512367d3
commit
fac3ac3970
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user