Skip to content
Snippets Groups Projects
Commit fac3ac39 authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

g723.1: use get_bits1()

parent 11512367
No related branches found
No related tags found
No related merge requests found
...@@ -144,10 +144,10 @@ static int unpack_bitstream(G723_1_Context *p, const uint8_t *buf, ...@@ -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[0].grid_index = get_bits1(&gb);
p->subframe[1].grid_index = get_bits(&gb, 1); p->subframe[1].grid_index = get_bits1(&gb);
p->subframe[2].grid_index = get_bits(&gb, 1); p->subframe[2].grid_index = get_bits1(&gb);
p->subframe[3].grid_index = get_bits(&gb, 1); p->subframe[3].grid_index = get_bits1(&gb);
if (p->cur_rate == Rate6k3) { if (p->cur_rate == Rate6k3) {
skip_bits(&gb, 1); /* skip reserved bit */ skip_bits(&gb, 1); /* skip reserved bit */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment