Mercurial > libavcodec.hg
comparison resample.c @ 7470:1a93d3bbe3ee libavcodec
cosmetics: make all references to AC-3 capitalized and hyphenated
author | jbr |
---|---|
date | Sun, 03 Aug 2008 16:42:32 +0000 |
parents | 78b46e3f9df2 |
children | 04423b2f6e0b |
comparison
equal
deleted
inserted
replaced
7469:856df346b536 | 7470:1a93d3bbe3ee |
---|---|
152 s->filter_channels = s->input_channels; | 152 s->filter_channels = s->input_channels; |
153 if (s->output_channels < s->filter_channels) | 153 if (s->output_channels < s->filter_channels) |
154 s->filter_channels = s->output_channels; | 154 s->filter_channels = s->output_channels; |
155 | 155 |
156 /* | 156 /* |
157 * ac3 output is the only case where filter_channels could be greater than 2. | 157 * AC-3 output is the only case where filter_channels could be greater than 2. |
158 * input channels can't be greater than 2, so resample the 2 channels and then | 158 * input channels can't be greater than 2, so resample the 2 channels and then |
159 * expand to 6 channels after the resampling. | 159 * expand to 6 channels after the resampling. |
160 */ | 160 */ |
161 if(s->filter_channels>2) | 161 if(s->filter_channels>2) |
162 s->filter_channels = 2; | 162 s->filter_channels = 2; |