[FFmpeg-cvslog] r12278 - trunk/libavcodec/libamr.c

benoit subversion
Fri Feb 29 09:01:01 CET 2008


Author: benoit
Date: Fri Feb 29 09:01:01 2008
New Revision: 12278

Log:
Make AMR-NB block size const and 8 bits.


Modified:
   trunk/libavcodec/libamr.c

Modified: trunk/libavcodec/libamr.c
==============================================================================
--- trunk/libavcodec/libamr.c	(original)
+++ trunk/libavcodec/libamr.c	Fri Feb 29 09:01:01 2008
@@ -444,7 +444,7 @@ static int amr_nb_decode_frame(AVCodecCo
 {
     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;
 




More information about the ffmpeg-cvslog mailing list