Commit 7eaf7ebf authored by vaclav's avatar vaclav
Browse files

fix wrong error return

parent 16a62090
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
        }