changeset 8260:8aa88616d6d8 libavcodec

Silence some ICC warnings. Patch by Vitor Sessak.
author reynaldo
date Thu, 04 Dec 2008 20:24:22 +0000
parents 437300244051
children 5f48c58bfd51
files qcelpdec.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/qcelpdec.c	Thu Dec 04 15:08:44 2008 +0000
+++ b/qcelpdec.c	Thu Dec 04 20:24:22 2008 +0000
@@ -600,7 +600,7 @@
         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 @@
         case  1: return SILENCE;
     }
 
-    return -1;
+    return I_F_Q;
 }
 
 /**