From 6e74619e5e60e362f9d010acdbca143f5b079fc3 Mon Sep 17 00:00:00 2001 From: Vitor Sessak Date: Thu, 4 Dec 2008 20:24:22 +0000 Subject: [PATCH] Silence some ICC warnings. Patch by Vitor Sessak. Originally committed as revision 16006 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/qcelpdec.c | 4 ++-- 1 file 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; } /**