Commit 0eb68c06 authored by Dominik Weckbecker's avatar Dominik Weckbecker 💬
Browse files

initialize local variables using the names from the struct

parent 82d214b0
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -125,8 +125,8 @@ static const int16_t REORDER_ACN_SID[AMBI_MAX_CHANNELS] = { 0,
int16_t convert_ambi_format( float *in[], float *out[], int16_t order, AMBI_FMT in_format, AMBI_FMT out_format )
{
    assert( order <= 3 );
    AMBI_CHANNEL_ORDER ch_ord_in = 0, ch_ord_out = 0;
    AMBI_CHANNEL_NORM ch_norm_in = 0, ch_norm_out = 0;
    AMBI_CHANNEL_ORDER ch_ord_in = AMBI_CHANNEL_ORDER_ACN, ch_ord_out = AMBI_NORM_SN3D;
    AMBI_CHANNEL_NORM ch_norm_in = AMBI_CHANNEL_ORDER_ACN, ch_norm_out = AMBI_NORM_SN3D;

    if ( in_format != AMBI_FMT_ACN_SN3D && out_format != AMBI_FMT_ACN_SN3D )
    {