summaryrefslogtreecommitdiff
path: root/libavcodec/qcelpdec.c
diff options
context:
space:
mode:
authorVitor Sessak <vitor1001@gmail.com>2008-12-04 20:24:22 +0000
committerReynaldo H. Verdejo Pinochet <reynaldo@opendot.cl>2008-12-04 20:24:22 +0000
commit6e74619e5e60e362f9d010acdbca143f5b079fc3 (patch)
tree6d54afca8a6868fab1f43bd65f8d33f86887a530 /libavcodec/qcelpdec.c
parent87a9173679118beef867c7e9626868b4a3dfc837 (diff)
Silence some ICC warnings. Patch by Vitor Sessak.
Originally committed as revision 16006 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/qcelpdec.c')
-rw-r--r--libavcodec/qcelpdec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/qcelpdec.c b/libavcodec/qcelpdec.c
index 87baee4ca5..ee21e529ee 100644
--- a/libavcodec/qcelpdec.c
+++ b/libavcodec/qcelpdec.c
@@ -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;
}
/**