Loading lib_dec/ivas_vbap.c +3 −1 Original line number Diff line number Diff line Loading @@ -178,11 +178,13 @@ ivas_error vbap_init_data( push_wmops( "vbap_init" ); /* Basic init checks */ /* If the requested layout is invalid, hVBAPdata is set to NULL and the signal will * be distributed with an equal gain into all output channels. * The surrounding code needs to handle the NULL pointer properly. */ if ( num_speaker_nodes > VBAP_MAX_NUM_SPEAKER_NODES || num_speaker_nodes < 3 ) { hVBAPdata = NULL; pop_wmops(); /* TODO: are these two paths correct behaviour or should and error be returned ? */ return IVAS_ERR_OK; } Loading Loading
lib_dec/ivas_vbap.c +3 −1 Original line number Diff line number Diff line Loading @@ -178,11 +178,13 @@ ivas_error vbap_init_data( push_wmops( "vbap_init" ); /* Basic init checks */ /* If the requested layout is invalid, hVBAPdata is set to NULL and the signal will * be distributed with an equal gain into all output channels. * The surrounding code needs to handle the NULL pointer properly. */ if ( num_speaker_nodes > VBAP_MAX_NUM_SPEAKER_NODES || num_speaker_nodes < 3 ) { hVBAPdata = NULL; pop_wmops(); /* TODO: are these two paths correct behaviour or should and error be returned ? */ return IVAS_ERR_OK; } Loading