Fixes the code for optional self-delimited packing to make it fit the draft
This has no impact on opus_demo, test vectors, or "normal" codec operation
This commit is contained in:
parent
1c80f64960
commit
92c896e880
2 changed files with 2 additions and 3 deletions
|
@ -108,7 +108,7 @@ static int get_mono_channel(const ChannelLayout *layout, int stream_id, int prev
|
|||
i = (prev<0) ? 0 : prev+1;
|
||||
for (;i<layout->nb_channels;i++)
|
||||
{
|
||||
if (layout->mapping[i]==2*layout->nb_coupled_streams+stream_id)
|
||||
if (layout->mapping[i]==stream_id+layout->nb_coupled_streams)
|
||||
return i;
|
||||
}
|
||||
return -1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue