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
8282 {
8383 const uint64_t *p;
8484 uint64_t best_ch_layout = 0;
85− int best_nb_channells = 0;
85+ int best_nb_channels = 0;
8686
8787 if (!codec->channel_layouts)
8888 return AV_CH_LAYOUT_STEREO;
@@ -91,9 +91,9 @@ static int select_channel_layout(AVCodec *codec) · 2 unmodified lines
9191 while (*p) {
9292 int nb_channels = av_get_channel_layout_nb_channels(*p);
9393
94− if (nb_channels > best_nb_channells) {
94+ if (nb_channels > best_nb_channels) {
9595 best_ch_layout = *p;
96− best_nb_channells = nb_channels;
96+ best_nb_channels = nb_channels;
9797 }
9898 p++;
9999 }

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