Loading lib_dec/ivas_masa_dec.c +6 −15 Original line number Diff line number Diff line Loading @@ -1095,17 +1095,7 @@ ivas_error ivas_masa_dec_reconfigure( /* renderer might have changed, reselect */ ivas_renderer_select( st_ivas ); if ( st_ivas->renderer_type != RENDERER_DISABLE ) { if ( st_ivas->hDirAC != NULL ) { /* reconfigure existing DirAC dec */ if ( ( error = ivas_dirac_dec_config( st_ivas, DIRAC_RECONFIGURE ) ) != IVAS_ERR_OK ) { return error; } } else if ( st_ivas->renderer_type != RENDERER_DISABLE && st_ivas->hDirAC == NULL ) { /* init a new DirAC dec */ if ( ( error = ivas_dirac_dec_config( st_ivas, DIRAC_OPEN ) ) != IVAS_ERR_OK ) Loading @@ -1113,11 +1103,12 @@ ivas_error ivas_masa_dec_reconfigure( return error; } } } else if ( st_ivas->renderer_type == RENDERER_DISABLE && st_ivas->hDirAC != NULL ) { /* close unnecessary DirAC dec */ ivas_dirac_dec_close( &( st_ivas->hDirAC ) ); } /* possible reconfigure is done later */ #endif /*-----------------------------------------------------------------* Loading Loading
lib_dec/ivas_masa_dec.c +6 −15 Original line number Diff line number Diff line Loading @@ -1095,17 +1095,7 @@ ivas_error ivas_masa_dec_reconfigure( /* renderer might have changed, reselect */ ivas_renderer_select( st_ivas ); if ( st_ivas->renderer_type != RENDERER_DISABLE ) { if ( st_ivas->hDirAC != NULL ) { /* reconfigure existing DirAC dec */ if ( ( error = ivas_dirac_dec_config( st_ivas, DIRAC_RECONFIGURE ) ) != IVAS_ERR_OK ) { return error; } } else if ( st_ivas->renderer_type != RENDERER_DISABLE && st_ivas->hDirAC == NULL ) { /* init a new DirAC dec */ if ( ( error = ivas_dirac_dec_config( st_ivas, DIRAC_OPEN ) ) != IVAS_ERR_OK ) Loading @@ -1113,11 +1103,12 @@ ivas_error ivas_masa_dec_reconfigure( return error; } } } else if ( st_ivas->renderer_type == RENDERER_DISABLE && st_ivas->hDirAC != NULL ) { /* close unnecessary DirAC dec */ ivas_dirac_dec_close( &( st_ivas->hDirAC ) ); } /* possible reconfigure is done later */ #endif /*-----------------------------------------------------------------* Loading