OSDN Git Service

Use IF1 frame sizes in AMR-WB.
authorMartin Storsjö <martin@martin.st>
Wed, 20 May 2009 08:57:32 +0000 (08:57 +0000)
committerBenoit Fouet <benoit.fouet@free.fr>
Wed, 20 May 2009 08:57:32 +0000 (08:57 +0000)
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

libavcodec/libamr.c

index 52c2118..2f63f10 100644 (file)
@@ -412,7 +412,7 @@ static int amr_wb_decode_frame(AVCodecContext *avctx, void *data,
     const 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};
+    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)
         /* nothing to do */