# HG changeset patch # User benoit # Date 1204271969 0 # Node ID 4c29380d2511c6ab5d117314c4bc7f64338561b5 # Parent fd74b42a19f499454509d06644c7c65986a34226 Define block size for AMR-WB (use IF2 table). Spotted by John Fitzgerald: jjfitzgerald gmail com diff -r fd74b42a19f4 -r 4c29380d2511 libamr.c --- 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 */