Mercurial > libavcodec.hg
comparison ac3dec.c @ 9606:31090f08314e libavcodec
cosmetics: indentation after last commit
author | jbr |
---|---|
date | Tue, 05 May 2009 23:39:10 +0000 |
parents | 93029f1a4c14 |
children | 6d3d3df92a4e |
comparison
equal
deleted
inserted
replaced
9605:93029f1a4c14 | 9606:31090f08314e |
---|---|
1325 s->output_mode = s->out_channels == 1 ? AC3_CHMODE_MONO : AC3_CHMODE_STEREO; | 1325 s->output_mode = s->out_channels == 1 ? AC3_CHMODE_MONO : AC3_CHMODE_STEREO; |
1326 } | 1326 } |
1327 | 1327 |
1328 /* decode the audio blocks */ | 1328 /* decode the audio blocks */ |
1329 channel_map = ff_ac3_dec_channel_map[s->output_mode & ~AC3_OUTPUT_LFEON][s->lfe_on]; | 1329 channel_map = ff_ac3_dec_channel_map[s->output_mode & ~AC3_OUTPUT_LFEON][s->lfe_on]; |
1330 for (ch = 0; ch < s->out_channels; ch++) | 1330 for (ch = 0; ch < s->out_channels; ch++) |
1331 output[ch] = s->output[channel_map[ch]]; | 1331 output[ch] = s->output[channel_map[ch]]; |
1332 for (blk = 0; blk < s->num_blocks; blk++) { | 1332 for (blk = 0; blk < s->num_blocks; blk++) { |
1333 if (!err && decode_audio_block(s, blk)) { | 1333 if (!err && decode_audio_block(s, blk)) { |
1334 av_log(avctx, AV_LOG_ERROR, "error decoding the audio block\n"); | 1334 av_log(avctx, AV_LOG_ERROR, "error decoding the audio block\n"); |
1335 err = 1; | 1335 err = 1; |
1336 } | 1336 } |