ref: a01feba028f6ccf2af294b02a3982876551fe38a
parent: 10b2978de398fa4e27357638aa15466cab326028
author: Jean-Marc Valin <[email protected]>
date: Fri Aug 5 13:34:04 EDT 2016
Fixes "mixed declarations and code"
--- a/celt/bands.c
+++ b/celt/bands.c
@@ -370,10 +370,10 @@
static void compute_channel_weights(celt_ener Ex, celt_ener Ey, opus_val16 w[2])
{
celt_ener minE;
- minE = MIN32(Ex, Ey);
#if FIXED_POINT
int shift;
#endif
+ minE = MIN32(Ex, Ey);
/* Adjustment to make the weights a bit more conservative. */
Ex = ADD32(Ex, minE/3);
Ey = ADD32(Ey, minE/3);