Commit 55feba57 authored by vaclav's avatar vaclav
Browse files

check for NULL pointer

parent 763475e0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3858,7 +3858,7 @@ ivas_error IVAS_DEC_GetCldfbSamples(
    ISAR_DEC_SPLIT_REND_WRAPPER_HANDLE hSplitBinRend;
    int16_t ch, b, slot_idx, num_chs, maxBand, num_samples;

    if ( hIvasDec == NULL || hIvasDec->st_ivas == NULL )
    if ( hIvasDec == NULL || hIvasDec->st_ivas == NULL || hIvasDec->st_ivas->hSplitBinRend == NULL )
    {
        return IVAS_ERR_UNEXPECTED_NULL_POINTER;
    }