Skip to content
Snippets Groups Projects
Commit b29ad007 authored by Jean-Marc Valin's avatar Jean-Marc Valin
Browse files

Fixes MSVC warnings

parent ea95c533
No related branches found
No related tags found
No related merge requests found
...@@ -734,8 +734,8 @@ static void opus_surround_downmix_float( ...@@ -734,8 +734,8 @@ static void opus_surround_downmix_float(
dst[2*i] += SHR32(MULT16_16(QCONST16(.70711f,15), FLOAT2INT16(float_src[i*channels+c])),3+15); dst[2*i] += SHR32(MULT16_16(QCONST16(.70711f,15), FLOAT2INT16(float_src[i*channels+c])),3+15);
dst[2*i+1] += SHR32(MULT16_16(QCONST16(.70711f,15), FLOAT2INT16(float_src[i*channels+c])),3+15); dst[2*i+1] += SHR32(MULT16_16(QCONST16(.70711f,15), FLOAT2INT16(float_src[i*channels+c])),3+15);
#else #else
dst[2*i] += .707*float_src[i*channels+c]; dst[2*i] += .707f*float_src[i*channels+c];
dst[2*i+1] += .707*float_src[i*channels+c]; dst[2*i+1] += .707f*float_src[i*channels+c];
#endif #endif
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment