Commit 22c333a4 authored by Stephane Ragot's avatar Stephane Ragot
Browse files

Merge branch '1238-incorrect-channel-numbering-EVS-compatible-downmix' into 'main'

[Non BE] Bug fix: Left and right channels inverted in EVS-compatible downmix

See merge request !1920
parents bc8639d2 5b9dbbfc
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -605,11 +605,11 @@ static void calc_poc(
        /* Channel selection based on ILD     */
        if ( hPHA->trns_aux_energy[0] > hPHA->trns_aux_energy[1] * hPHA->pha_ipd_ild_thresh )
        {
            pha_ipd_ild_chan2rephase = 0;
            pha_ipd_ild_chan2rephase = 1;
        }
        else if ( hPHA->trns_aux_energy[1] > hPHA->trns_aux_energy[0] * hPHA->pha_ipd_ild_thresh )
        {
            pha_ipd_ild_chan2rephase = 1;
            pha_ipd_ild_chan2rephase = 0;
        }
        else
        {