diff options
author | Benoit Fouet <benoit.fouet@free.fr> | 2008-02-29 08:01:01 +0000 |
---|---|---|
committer | Benoit Fouet <benoit.fouet@free.fr> | 2008-02-29 08:01:01 +0000 |
commit | 79aeec0839123da123683e9e4bc199b7a4a2bebb (patch) | |
tree | b8591522df110c0912add109f872853051d44a0e | |
parent | 675bc0bccbcb070c580ccbdbe2b5507daaf00d7d (diff) | |
download | ffmpeg-79aeec0839123da123683e9e4bc199b7a4a2bebb.tar.gz |
Make AMR-NB block size const and 8 bits.
Originally committed as revision 12278 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/libamr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/libamr.c b/libavcodec/libamr.c index 241fc994b7..5a5145060c 100644 --- a/libavcodec/libamr.c +++ b/libavcodec/libamr.c @@ -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; |