Commit a2d35888 authored by Vitor Sessak's avatar Vitor Sessak

10l: do not try to unpack DTX frames in AMR-NB decoder

Originally committed as revision 22930 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 10fa22cc
......@@ -195,7 +195,7 @@ static enum Mode unpack_bitstream(AMRContext *p, const uint8_t *buf,
p->bad_frame_indicator = !get_bits1(&gb); // quality bit
skip_bits(&gb, 2); // two padding bits
if (mode <= MODE_DTX) {
if (mode < MODE_DTX) {
uint16_t *data = (uint16_t *)&p->frame;
const uint8_t *order = amr_unpacking_bitmaps_per_mode[mode];
int field_size;
......
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