Module: sems Branch: master Commit: 07a17d5a4ea0ef2fc64b6f4e37ac0de07c3f27ff URL: https://github.com/sems-server/sems/commit/07a17d5a4ea0ef2fc64b6f4e37ac0de07c3f27ff
Author: Juha Heinanen <[email protected]> Committer: Juha Heinanen <[email protected]> Date: 2015-06-10T11:26:18+03:00 core/plug-in/ilbc: removed code that can never be executed in order to suppress compiler warning --- Modified: core/plug-in/ilbc/iLBC_rfc3951/filter.c --- Diff: https://github.com/sems-server/sems/commit/07a17d5a4ea0ef2fc64b6f4e37ac0de07c3f27ff.diff Patch: https://github.com/sems-server/sems/commit/07a17d5a4ea0ef2fc64b6f4e37ac0de07c3f27ff.patch --- diff --git a/core/plug-in/ilbc/iLBC_rfc3951/filter.c b/core/plug-in/ilbc/iLBC_rfc3951/filter.c index 6565c2b..78f1158 100644 --- a/core/plug-in/ilbc/iLBC_rfc3951/filter.c +++ b/core/plug-in/ilbc/iLBC_rfc3951/filter.c @@ -156,19 +156,11 @@ o=(float)0.0; - if (i<lengthIn) { - Coef_ptr = &Coef[0]; - In_ptr = &In[i]; - for (j=0; j<FILTERORDER_DS; j++) { - o += *Coef_ptr++ * (*Out_ptr--); - } - } else { - Coef_ptr = &Coef[i-lengthIn]; - In_ptr = &In[lengthIn-1]; - for (j=0; j<FILTERORDER_DS-(i-lengthIn); j++) { - o += *Coef_ptr++ * (*In_ptr--); - } - } + Coef_ptr = &Coef[i-lengthIn]; + In_ptr = &In[lengthIn-1]; + for (j=0; j<FILTERORDER_DS-(i-lengthIn); j++) { + o += *Coef_ptr++ * (*In_ptr--); + } *Out_ptr++ = o; } } _______________________________________________ Semsdev mailing list [email protected] http://lists.iptel.org/mailman/listinfo/semsdev
