mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-24 16:22:37 +00:00
doc: Fix best_nb_channells typo
Signed-off-by: Peter Meerwald <p.meerwald@bct-electronic.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
This commit is contained in:
parent
25a80a931a
commit
dfcbe8cbd7
@ -82,7 +82,7 @@ static int select_channel_layout(AVCodec *codec)
|
|||||||
{
|
{
|
||||||
const uint64_t *p;
|
const uint64_t *p;
|
||||||
uint64_t best_ch_layout = 0;
|
uint64_t best_ch_layout = 0;
|
||||||
int best_nb_channells = 0;
|
int best_nb_channels = 0;
|
||||||
|
|
||||||
if (!codec->channel_layouts)
|
if (!codec->channel_layouts)
|
||||||
return AV_CH_LAYOUT_STEREO;
|
return AV_CH_LAYOUT_STEREO;
|
||||||
@ -91,9 +91,9 @@ static int select_channel_layout(AVCodec *codec)
|
|||||||
while (*p) {
|
while (*p) {
|
||||||
int nb_channels = av_get_channel_layout_nb_channels(*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_ch_layout = *p;
|
||||||
best_nb_channells = nb_channels;
|
best_nb_channels = nb_channels;
|
||||||
}
|
}
|
||||||
p++;
|
p++;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user