Commit 08638f6f authored by vaclav's avatar vaclav
Browse files

fix FIX_522_ISM_FIRST_SID

parent b4ac10d9
Loading
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -158,6 +158,9 @@


#define IGF_TUNING_96                                   /* FhG: Issue 546: slight tuning of IGF config used in 96 kbps stereo, 128 kbps SBA and others */
#define IGF_TUNING_96                                   /* FhG: Issue 546: slight tuning of IGF config used in 96 kbps stereo, 128 kbps SBA and others */


#define FIX_522_ISM_FIRST_SID                           /* VA: fix ISM decoder crash if first received frame is an SID */


/* ################## End DEVELOPMENT switches ######################### */
/* ################## End DEVELOPMENT switches ######################### */
/* clang-format on */
/* clang-format on */


+0 −7
Original line number Original line Diff line number Diff line
@@ -307,17 +307,10 @@ ivas_error ivas_dec_setup(
                st_ivas->ism_mode = (ISM_MODE) ( idx + 1 );
                st_ivas->ism_mode = (ISM_MODE) ( idx + 1 );
            }
            }


#ifdef JBM_TSM_ON_TCS
            if ( ( error = ivas_ism_dec_config( st_ivas, st_ivas->ism_mode, nSamplesRendered, data ) ) != IVAS_ERR_OK )
            if ( ( error = ivas_ism_dec_config( st_ivas, st_ivas->ism_mode, nSamplesRendered, data ) ) != IVAS_ERR_OK )
            {
            {
                return error;
                return error;
            }
            }
#else
            if ( ( error = ivas_ism_dec_config( st_ivas, st_ivas->ism_mode ) ) != IVAS_ERR_OK )
            {
                return error;
            }
#endif
        }
        }
#endif
#endif
    }
    }