Commit 827b4377 authored by bayers's avatar bayers
Browse files

change behaviour of the update of Quaternion_prev_ext_orientation again (see...

change behaviour of the update of Quaternion_prev_ext_orientation again (see discussion in #570), clang-format
parent 68d5f571
Loading
Loading
Loading
Loading
+8 −3
Original line number Diff line number Diff line
@@ -1531,9 +1531,14 @@ ivas_error combine_external_and_head_orientations(
    if ( hExtOrientationData != NULL )
    {
#ifdef API_5MS

        if ( hExtOrientationData->enableExternalOrientation > 0 )
        {
            hCombinedOrientationData->Quaternion_prev_extOrientation = hExtOrientationData->Quaternion;

        }
        else
        {
            hCombinedOrientationData->Quaternion_prev_extOrientation = identity;
        }
#elif defined FIX_570_SF_EXT_ORIENTATION
        if ( hExtOrientationData->enableExternalOrientation[MAX_PARAM_SPATIAL_SUBFRAMES - 1] > 0 )
        {
+1 −1

File changed.

Contains only whitespace changes.