Commit 82516ccb authored by norvell's avatar norvell
Browse files

Move init of ism_number away from declaration section.

parent d789e122
Loading
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -694,13 +694,15 @@ ivas_error ivas_td_binaural_open_ext(
    ivas_error error;
#ifdef NONBE_1377_REND_DIRATT_CONF
    int16_t ism_number;

    ism_number = id & 0x00FF; /* Exctract ISM number from ID */
#endif

    float *distAtt = NULL;
    float *directivity = NULL;

#ifdef NONBE_1377_REND_DIRATT_CONF
    ism_number = id & 0x00FF; /* Exctract ISM number from ID */
#endif

    if ( inConfig != IVAS_AUDIO_CONFIG_LS_CUSTOM )
    {
        if ( ( error = getAudioConfigNumChannels( inConfig, &nchan_transport ) ) != IVAS_ERR_OK )