aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorBenoit Fouet <benoit.fouet@free.fr>2008-02-29 07:59:29 +0000
committerBenoit Fouet <benoit.fouet@free.fr>2008-02-29 07:59:29 +0000
commit675bc0bccbcb070c580ccbdbe2b5507daaf00d7d (patch)
tree9580dfd5a12971b6a7ad528ca2b88d27533e81a4 /libavcodec
parentb5a33ff124478d24c17743016c17d200769a8ec5 (diff)
downloadffmpeg-675bc0bccbcb070c580ccbdbe2b5507daaf00d7d.tar.gz
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
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/libamr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/libamr.c b/libavcodec/libamr.c
index 24d2655821..241fc994b7 100644
--- a/libavcodec/libamr.c
+++ b/libavcodec/libamr.c
@@ -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 */