OSDN Git Service

Silence some ICC warnings. Patch by Vitor Sessak.
authorVitor Sessak <vitor1001@gmail.com>
Thu, 4 Dec 2008 20:24:22 +0000 (20:24 +0000)
committerReynaldo H. Verdejo Pinochet <reynaldo@opendot.cl>
Thu, 4 Dec 2008 20:24:22 +0000 (20:24 +0000)
Originally committed as revision 16006 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/qcelpdec.c

index 87baee4..ee21e52 100644 (file)
@@ -600,7 +600,7 @@ void interpolate_lpc(QCELPContext *q, const float *curr_lspf, float *lpc,
         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 buf_size)
         case  1: return SILENCE;
     }
 
-    return -1;
+    return I_F_Q;
 }
 
 /**