History

doc: Fix best_nb_channells typo

Peter Meerwald committed 13 years ago

Commit dfcbe8c1 parent 25a80a91 file · +3 −3Browse files

Unified · Split

libavcodec/api-example.c+3−3
@@ -82,7 +82,7 @@ static int select_channel_layout(AVCodec *codec) · 81 unmodified lines
82{82{
83 const uint64_t *p;83 const uint64_t *p;
84 uint64_t best_ch_layout = 0;84 uint64_t best_ch_layout = 0;
85 int best_nb_channells = 0;85 int best_nb_channels = 0;
86 86
87 if (!codec->channel_layouts)87 if (!codec->channel_layouts)
88 return AV_CH_LAYOUT_STEREO;88 return AV_CH_LAYOUT_STEREO;
@@ -91,9 +91,9 @@ static int select_channel_layout(AVCodec *codec) · 2 unmodified lines
91 while (*p) {91 while (*p) {
92 int nb_channels = av_get_channel_layout_nb_channels(*p);92 int nb_channels = av_get_channel_layout_nb_channels(*p);
93 93
94 if (nb_channels > best_nb_channells) {94 if (nb_channels > best_nb_channels) {
95 best_ch_layout = *p;95 best_ch_layout = *p;
96 best_nb_channells = nb_channels;96 best_nb_channels = nb_channels;
97 }97 }
98 p++;98 p++;
99 }99 }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t