svq1dec: avoid undefined get_bits(0) call
Signed-off-by: Mans Rullgard <mans@mansr.com>
This commit is contained in:
parent
59807fee6d
commit
51a16077da
@ -195,6 +195,7 @@ static const uint8_t string_table[256] = {
|
|||||||
|
|
||||||
#define SVQ1_CALC_CODEBOOK_ENTRIES(cbook)\
|
#define SVQ1_CALC_CODEBOOK_ENTRIES(cbook)\
|
||||||
codebook = (const uint32_t *) cbook[level];\
|
codebook = (const uint32_t *) cbook[level];\
|
||||||
|
if (stages > 0)\
|
||||||
bit_cache = get_bits (bitbuf, 4*stages);\
|
bit_cache = get_bits (bitbuf, 4*stages);\
|
||||||
/* calculate codebook entries for this vector */\
|
/* calculate codebook entries for this vector */\
|
||||||
for (j=0; j < stages; j++) {\
|
for (j=0; j < stages; j++) {\
|
||||||
|
Loading…
x
Reference in New Issue
Block a user