[SCM] libav/experimental: Define block size for AMR-WB (use IF2 table). Spotted by John Fitzgerald: jjfitzgerald gmail com
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 16:15:59 UTC 2013
The following commit has been merged in the experimental branch:
commit 675bc0bccbcb070c580ccbdbe2b5507daaf00d7d
Author: Benoit Fouet <benoit.fouet at free.fr>
Date: Fri Feb 29 07:59:29 2008 +0000
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
diff --git a/libavcodec/libamr.c b/libavcodec/libamr.c
index 24d2655..241fc99 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 */
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list