Commit e86de16d authored by Archit Tamarapu's avatar Archit Tamarapu
Browse files

[fix] invalid buffer write in pre-split rendering mode of the renderer

parent 4e5ed448
Loading
Loading
Loading
Loading
+10 −2
Original line number Diff line number Diff line
@@ -9204,8 +9204,16 @@ ivas_error IVAS_REND_GetSamples(
        return IVAS_ERR_WRONG_NUM_CHANNELS;
    }

#ifdef API_5MS
    /* outAudio.data is only valid if not in split rendering mode */
    if ( hBits == NULL )
    {
#endif
        /* Clear original output buffer */
        set_zero( outAudio.data, outAudio.config.numChannels * outAudio.config.numSamplesPerChannel );
#ifdef API_5MS
    }
#endif


#ifdef SPLIT_REND_WITH_HEAD_ROT
+1 −1

File changed.

Contains only whitespace changes.