From 79aeec0839123da123683e9e4bc199b7a4a2bebb Mon Sep 17 00:00:00 2001 From: Benoit Fouet Date: Fri, 29 Feb 2008 08:01:01 +0000 Subject: Make AMR-NB block size const and 8 bits. Originally committed as revision 12278 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/libamr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/libamr.c') 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; -- cgit v1.2.3