Cosmetics: Re-indent after last commit.
Originally committed as revision 22195 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
ca1fa4144f
commit
65bec42e33
@ -81,19 +81,19 @@ get_next:
|
|||||||
if (avctx->codec_id != CODEC_ID_AAC) {
|
if (avctx->codec_id != CODEC_ID_AAC) {
|
||||||
avctx->sample_rate = s->sample_rate;
|
avctx->sample_rate = s->sample_rate;
|
||||||
|
|
||||||
/* allow downmixing to stereo (or mono for AC-3) */
|
/* allow downmixing to stereo (or mono for AC-3) */
|
||||||
if(avctx->request_channels > 0 &&
|
if(avctx->request_channels > 0 &&
|
||||||
avctx->request_channels < s->channels &&
|
avctx->request_channels < s->channels &&
|
||||||
(avctx->request_channels <= 2 ||
|
(avctx->request_channels <= 2 ||
|
||||||
(avctx->request_channels == 1 &&
|
(avctx->request_channels == 1 &&
|
||||||
(avctx->codec_id == CODEC_ID_AC3 ||
|
(avctx->codec_id == CODEC_ID_AC3 ||
|
||||||
avctx->codec_id == CODEC_ID_EAC3)))) {
|
avctx->codec_id == CODEC_ID_EAC3)))) {
|
||||||
avctx->channels = avctx->request_channels;
|
avctx->channels = avctx->request_channels;
|
||||||
} else {
|
} else {
|
||||||
avctx->channels = s->channels;
|
avctx->channels = s->channels;
|
||||||
avctx->channel_layout = s->channel_layout;
|
avctx->channel_layout = s->channel_layout;
|
||||||
}
|
}
|
||||||
avctx->frame_size = s->samples;
|
avctx->frame_size = s->samples;
|
||||||
}
|
}
|
||||||
|
|
||||||
avctx->bit_rate = s->bit_rate;
|
avctx->bit_rate = s->bit_rate;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user