Skip to content

Redundant code in stereo_tcx_init_enc()

The MSVC code analysis returns the C6297 warning:

Warning C6287 Redundant code: the left and right sub-expressions are identical in ..\lib_enc\ivas_tcx_core_enc.c, line 89

which corresponds to the code line:

if ( ... || ( st->tcxonly && ( st->sr_core == INT_FS_16k || st->sr_core == INT_FS_16k ) ) )

Is this a redundancy or a bug?