Resolve "Wrong indexing while reading external orientations in renderer"
- Related issues: #1168 (closed)
- Requested reviewers: @pihlajakuja @tamarapu @sagnowski
Reason why this change is needed
The indexing is wrong while reading external orientations from a file in renderer.c
lines 1565-1567.
for ( sf_idx = 0; sf_idx < num_subframes; sf_idx++ )
{
if ( ( error = ExternalOrientationFileReading( externalOrientationFileReader, &quatBuffer[i], &enableHeadRotation[i], &enableExternalOrientation[i], &enableRotationInterpolation[i], &numFramesToTargetOrientation[i] ) ) != IVAS_ERR_OK )
{
The reading loops over sf_idx
, but the updated values are indexed with i
.
Description of the change
The index i
should be replaced with the correct index sf_idx
.
Affected operating points
IVAS_rend
output will be non-BE when external orientations are enabled (-exof
flag).
Edited by Lauros Pajunen