1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-13 21:28:01 +02:00

Use IF1 frame sizes in AMR-WB.

Patch by Martin Storsjö: martin (remove that) at martin (oh and this too) st

Originally committed as revision 18880 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Martin Storsjö 2009-05-20 08:57:32 +00:00 committed by Benoit Fouet
parent 373177949f
commit a2ce9a9914

View File

@ -412,7 +412,7 @@ static int amr_wb_decode_frame(AVCodecContext *avctx, void *data,
const uint8_t *amrData = buf; const uint8_t *amrData = buf;
int mode; int mode;
int packet_size; int packet_size;
static const uint8_t block_size[16] = {18, 23, 33, 37, 41, 47, 51, 59, 61, 6, 6, 0, 0, 0, 1, 1}; static const uint8_t block_size[16] = {18, 24, 33, 37, 41, 47, 51, 59, 61, 6, 6, 0, 0, 0, 1, 1};
if (!buf_size) if (!buf_size)
/* nothing to do */ /* nothing to do */