Commit dfcbe8cb authored by Peter Meerwald's avatar Peter Meerwald Committed by Anton Khirnov

doc: Fix best_nb_channells typo

Signed-off-by: 's avatarPeter Meerwald <p.meerwald@bct-electronic.com>
Signed-off-by: 's avatarAnton Khirnov <anton@khirnov.net>
parent 25a80a93
......@@ -82,7 +82,7 @@ static int select_channel_layout(AVCodec *codec)
{
const uint64_t *p;
uint64_t best_ch_layout = 0;
int best_nb_channells = 0;
int best_nb_channels = 0;
if (!codec->channel_layouts)
return AV_CH_LAYOUT_STEREO;
......@@ -91,9 +91,9 @@ static int select_channel_layout(AVCodec *codec)
while (*p) {
int nb_channels = av_get_channel_layout_nb_channels(*p);
if (nb_channels > best_nb_channells) {
if (nb_channels > best_nb_channels) {
best_ch_layout = *p;
best_nb_channells = nb_channels;
best_nb_channels = nb_channels;
}
p++;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment