[FFmpeg-cvslog] r16006 - trunk/libavcodec/qcelpdec.c

reynaldo subversion
Thu Dec 4 21:24:23 CET 2008


Author: reynaldo
Date: Thu Dec  4 21:24:22 2008
New Revision: 16006

Log:
Silence some ICC warnings. Patch by Vitor Sessak.


Modified:
   trunk/libavcodec/qcelpdec.c

Modified: trunk/libavcodec/qcelpdec.c
==============================================================================
--- trunk/libavcodec/qcelpdec.c	(original)
+++ trunk/libavcodec/qcelpdec.c	Thu Dec  4 21:24:22 2008
@@ -600,7 +600,7 @@ void interpolate_lpc(QCELPContext *q, co
         ff_qcelp_lspf2lpc(curr_lspf, lpc);
 }
 
-static int buf_size2bitrate(const int buf_size)
+static qcelp_packet_rate buf_size2bitrate(const int buf_size)
 {
     switch(buf_size)
     {
@@ -611,7 +611,7 @@ static int buf_size2bitrate(const int bu
         case  1: return SILENCE;
     }
 
-    return -1;
+    return I_F_Q;
 }
 
 /**




More information about the ffmpeg-cvslog mailing list