Commit 5d50bf82 authored by vaclav's avatar vaclav
Browse files

fix SR build

parent 13f10ef3
Loading
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -2359,7 +2359,11 @@ static ivas_error decodeG192(

#ifdef MEM_ALLOC_APP
            /* Reconfigure IVAS decoder handles and reallocate the memory if IVAS total bitrate has changed */
#ifdef SPLIT_REND_WITH_HEAD_ROT
            if ( ( error = IVAS_DEC_Setup( hIvasDec, IVAS_DEC_PCM_INT16, pcmBuf + nSamplesRendered * nOutChannels ) ) != IVAS_ERR_OK )
#else
            if ( ( error = IVAS_DEC_Setup( hIvasDec, NULL ) ) != IVAS_ERR_OK )
#endif
            {
                fprintf( stderr, "\nIVAS_DEC_Setup failed: %s\n\n", IVAS_DEC_GetErrorMessage( error ) );
                goto cleanup;