Commit 498eea2c authored by benoit's avatar benoit

Make AMR-NB block size const and 8 bits.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@12278 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent aab5fa5a
......@@ -444,7 +444,7 @@ static int amr_nb_decode_frame(AVCodecContext * avctx,
{
AMRContext *s = avctx->priv_data;
uint8_t*amrData=buf;
static short block_size[16]={ 12, 13, 15, 17, 19, 20, 26, 31, 5, 0, 0, 0, 0, 0, 0, 0 };
static const uint8_t block_size[16]={ 12, 13, 15, 17, 19, 20, 26, 31, 5, 0, 0, 0, 0, 0, 0, 0 };
enum Mode dec_mode;
int packet_size;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment