Correct multistream variable frame size stride
authorMark Harris <mark.hsj@gmail.com>
Sat, 27 Aug 2016 14:10:15 +0000 (07:10 -0700)
committerMark Harris <mark.hsj@gmail.com>
Sat, 27 Aug 2016 14:10:15 +0000 (07:10 -0700)
commit7d0e33f7f12ade89341b84c3339f5514a17e75c5
treefb6f17566de92cb541a1d2b2a9f09271df219eca
parent3421f6d2baebd064ed42d7ee5814b511be11c105
Correct multistream variable frame size stride

The multistream encoder input has st->layout.nb_channels channels.
The number of channels actually encoded is st->layout.nb_streams +
st->layout.nb_coupled_streams, which may be fewer, so ideally it
would only analyze those when computing the optimal frame size, but
there is no code to do that currently.
src/opus_multistream_encoder.c