Commit 675bc0bc authored by Benoit Fouet's avatar Benoit Fouet

Define block size for AMR-WB (use IF2 table).

Spotted by John Fitzgerald: jjfitzgerald gmail com

Originally committed as revision 12277 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent b5a33ff1
......@@ -656,6 +656,7 @@ static int amr_wb_decode_frame(AVCodecContext * avctx,
uint8_t*amrData=buf;
int mode;
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};
if(buf_size==0) {
/* nothing to do */
......
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