Commit 1457f3fd authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/g723_1: add assert to help static code analyzers

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent b8598f6c
......@@ -2285,7 +2285,8 @@ static int pack_bitstream(G723_1_Context *p, unsigned char *frame, int size)
if (p->cur_rate == RATE_6300) {
info_bits = 0;
put_bits(&pb, 2, info_bits);
}
}else
av_assert0(0);
put_bits(&pb, 8, p->lsp_index[2]);
put_bits(&pb, 8, p->lsp_index[1]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment