diff --git a/lib_enc/ivas_enc.c b/lib_enc/ivas_enc.c index 66942eaec33f315cb49841feded0e8382402d294..da553657a975a9ae4872831483f55b102fc7aa44 100644 --- a/lib_enc/ivas_enc.c +++ b/lib_enc/ivas_enc.c @@ -164,7 +164,7 @@ ivas_error ivas_enc( else if ( ivas_format == ISM_FORMAT ) { /* select ISM format mode; reconfigure the ISM format encoder */ - if ( ( ivas_ism_enc_config( st_ivas ) ) ) + if ( ( error = ivas_ism_enc_config( st_ivas ) ) != IVAS_ERR_OK ) { return error; }