Unified · Split
| @@ -461,6 +461,7 @@ static ChannelElement *get_che(AACContext *ac, int type, int elem_id) · 460 unmodified lines | ||
| 461 | 461 | return NULL; |
| 462 | 462 | |
| 463 | 463 | ac->oc[1].m4ac.chan_config = 2; |
| 464 | + ac->oc[1].m4ac.ps = 0; | |
| 464 | 465 | } |
| 465 | 466 | // And vice-versa |
| 466 | 467 | if (!ac->tags_mapped && type == TYPE_SCE && ac->oc[1].m4ac.chan_config == 2) { |
| @@ -476,6 +477,8 @@ static ChannelElement *get_che(AACContext *ac, int type, int elem_id) · 9 unmodified lines | ||
| 476 | 477 | return NULL; |
| 477 | 478 | |
| 478 | 479 | ac->oc[1].m4ac.chan_config = 1; |
| 480 | + if (ac->oc[1].m4ac.sbr) | |
| 481 | + ac->oc[1].m4ac.ps = -1; | |
| 479 | 482 | } |
| 480 | 483 | // For indexed channel configurations map the channels solely based on position. |
| 481 | 484 | switch (ac->oc[1].m4ac.chan_config) { |