Loading lib_com/options.h +1 −0 Original line number Diff line number Diff line Loading @@ -227,6 +227,7 @@ #define FIX_170_DTX_MASA /* Nokia: Fix issue 170, relaxing the use of DTX in MASA format */ #define FIX_510 /* FhG: fix issue 510, misleading error message for invalid input format */ #define FIX_509 /* FhG: fix issue 509, too low number of bitsream indices in SBA */ #define FIX_519_JBM_ACCESS_NULL_TC_BUFFER /* FhG: fix issue 519, accessing a yet uninitialized TC Buffer in frame 0*/ #define FIX_TODO_NON_DIEGETIC_PAN_NOT_IMPLELENTED_IN_RENDERER /* ..\apps\renderer.c(240): .... (todo: implementation)",*/ #define REMOVE_OBS_CODE /* FhG: Remove unnecessary assignement after LFE cleanup (Issue #451)*/ Loading lib_dec/lib_dec.c +13 −2 Original line number Diff line number Diff line Loading @@ -1084,8 +1084,15 @@ ivas_error IVAS_DEC_GetBufferedNumberOfSamples( { return IVAS_ERR_UNEXPECTED_NULL_POINTER; } #ifdef FIX_519_JBM_ACCESS_NULL_TC_BUFFER /* check if the TC buffer already exists, otherweise nothing is buffered anyway */ if ( hIvasDec->st_ivas->hTcBuffer != NULL ) { #endif *nSamplesBuffered = hIvasDec->st_ivas->hTcBuffer->n_samples_buffered - hIvasDec->st_ivas->hTcBuffer->n_samples_rendered; #ifdef FIX_519_JBM_ACCESS_NULL_TC_BUFFER } #endif return error; } Loading Loading @@ -1945,7 +1952,11 @@ ivas_error IVAS_DEC_VoIP_GetSamples( { int16_t nSamplesBuffered; nSamplesBuffered = 0; #ifdef FIX_519_JBM_ACCESS_NULL_TC_BUFFER if ( hIvasDec->hasDecodedFirstGoodFrame ) #else if ( hIvasDec->hasBeenFedFirstGoodFrame ) #endif { IVAS_DEC_GetBufferedNumberOfSamples( hIvasDec, &nSamplesBuffered ); } Loading Loading
lib_com/options.h +1 −0 Original line number Diff line number Diff line Loading @@ -227,6 +227,7 @@ #define FIX_170_DTX_MASA /* Nokia: Fix issue 170, relaxing the use of DTX in MASA format */ #define FIX_510 /* FhG: fix issue 510, misleading error message for invalid input format */ #define FIX_509 /* FhG: fix issue 509, too low number of bitsream indices in SBA */ #define FIX_519_JBM_ACCESS_NULL_TC_BUFFER /* FhG: fix issue 519, accessing a yet uninitialized TC Buffer in frame 0*/ #define FIX_TODO_NON_DIEGETIC_PAN_NOT_IMPLELENTED_IN_RENDERER /* ..\apps\renderer.c(240): .... (todo: implementation)",*/ #define REMOVE_OBS_CODE /* FhG: Remove unnecessary assignement after LFE cleanup (Issue #451)*/ Loading
lib_dec/lib_dec.c +13 −2 Original line number Diff line number Diff line Loading @@ -1084,8 +1084,15 @@ ivas_error IVAS_DEC_GetBufferedNumberOfSamples( { return IVAS_ERR_UNEXPECTED_NULL_POINTER; } #ifdef FIX_519_JBM_ACCESS_NULL_TC_BUFFER /* check if the TC buffer already exists, otherweise nothing is buffered anyway */ if ( hIvasDec->st_ivas->hTcBuffer != NULL ) { #endif *nSamplesBuffered = hIvasDec->st_ivas->hTcBuffer->n_samples_buffered - hIvasDec->st_ivas->hTcBuffer->n_samples_rendered; #ifdef FIX_519_JBM_ACCESS_NULL_TC_BUFFER } #endif return error; } Loading Loading @@ -1945,7 +1952,11 @@ ivas_error IVAS_DEC_VoIP_GetSamples( { int16_t nSamplesBuffered; nSamplesBuffered = 0; #ifdef FIX_519_JBM_ACCESS_NULL_TC_BUFFER if ( hIvasDec->hasDecodedFirstGoodFrame ) #else if ( hIvasDec->hasBeenFedFirstGoodFrame ) #endif { IVAS_DEC_GetBufferedNumberOfSamples( hIvasDec, &nSamplesBuffered ); } Loading