From: benoit Date: Wed, 20 May 2009 08:57:32 +0000 (+0000) Subject: Use IF1 frame sizes in AMR-WB. X-Git-Url: https://rtime.felk.cvut.cz/gitweb/frescor/ffmpeg.git/commitdiff_plain/894e80ac73febe09f204a61f725c6376d4dc8986 Use IF1 frame sizes in AMR-WB. Patch by Martin Storsjö: martin (remove that) at martin (oh and this too) st git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18880 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b --- diff --git a/libavcodec/libamr.c b/libavcodec/libamr.c index 52c211835..2f63f1016 100644 --- a/libavcodec/libamr.c +++ b/libavcodec/libamr.c @@ -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 */