changeset 6427:4c29380d2511 libavcodec

Define block size for AMR-WB (use IF2 table). Spotted by John Fitzgerald: jjfitzgerald gmail com
author benoit
date Fri, 29 Feb 2008 07:59:29 +0000
parents fd74b42a19f4
children 1d35fe8cd53c
files libamr.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libamr.c	Thu Feb 28 23:44:52 2008 +0000
+++ b/libamr.c	Fri Feb 29 07:59:29 2008 +0000
@@ -656,6 +656,7 @@
     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 */