From 7eaf7ebf069fffdde6b5fcf34d3b552a819145fb Mon Sep 17 00:00:00 2001 From: vaclav Date: Wed, 7 Jun 2023 14:17:10 +0200 Subject: [PATCH] fix wrong error return --- lib_enc/ivas_enc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib_enc/ivas_enc.c b/lib_enc/ivas_enc.c index 66942eaec3..da553657a9 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; } -- GitLab