summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2008-12-08 03:15:10 +0000
committerJustin Ruggles <justin.ruggles@gmail.com>2008-12-08 03:15:10 +0000
commit20e047262fe66e0e045335eb23997e63d802141f (patch)
tree5db28c5ad0821da4bd5fa10d2be2c400cc1f0425 /libavcodec
parent72a6244b5d554d7fdfdeb04c174750c7a2c52f83 (diff)
downloadffmpeg-20e047262fe66e0e045335eb23997e63d802141f.tar.gz
cosmetics: alignment after last commit
Originally committed as revision 16035 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/ac3.c8
-rw-r--r--libavcodec/ac3.h8
-rw-r--r--libavcodec/ac3dec.c10
3 files changed, 13 insertions, 13 deletions
diff --git a/libavcodec/ac3.c b/libavcodec/ac3.c
index 2335106b17..cb1a14701a 100644
--- a/libavcodec/ac3.c
+++ b/libavcodec/ac3.c
@@ -81,10 +81,10 @@ void ff_ac3_bit_alloc_calc_psd(int8_t *exp, int start, int end, int16_t *psd,
}
int ff_ac3_bit_alloc_calc_mask(AC3BitAllocParameters *s, int16_t *band_psd,
- int start, int end, int fast_gain, int is_lfe,
- int dba_mode, int dba_nsegs, uint8_t *dba_offsets,
- uint8_t *dba_lengths, uint8_t *dba_values,
- int16_t *mask)
+ int start, int end, int fast_gain, int is_lfe,
+ int dba_mode, int dba_nsegs, uint8_t *dba_offsets,
+ uint8_t *dba_lengths, uint8_t *dba_values,
+ int16_t *mask)
{
int16_t excite[50]; /* excitation */
int bin, k;
diff --git a/libavcodec/ac3.h b/libavcodec/ac3.h
index 5ece9acf84..cbbb71821b 100644
--- a/libavcodec/ac3.h
+++ b/libavcodec/ac3.h
@@ -152,10 +152,10 @@ void ff_ac3_bit_alloc_calc_psd(int8_t *exp, int start, int end, int16_t *psd,
* @return returns 0 for success, non-zero for error
*/
int ff_ac3_bit_alloc_calc_mask(AC3BitAllocParameters *s, int16_t *band_psd,
- int start, int end, int fast_gain, int is_lfe,
- int dba_mode, int dba_nsegs, uint8_t *dba_offsets,
- uint8_t *dba_lengths, uint8_t *dba_values,
- int16_t *mask);
+ int start, int end, int fast_gain, int is_lfe,
+ int dba_mode, int dba_nsegs, uint8_t *dba_offsets,
+ uint8_t *dba_lengths, uint8_t *dba_values,
+ int16_t *mask);
/**
* Calculates bit allocation pointers.
diff --git a/libavcodec/ac3dec.c b/libavcodec/ac3dec.c
index c7c240cdb4..ae56a85d2a 100644
--- a/libavcodec/ac3dec.c
+++ b/libavcodec/ac3dec.c
@@ -1134,11 +1134,11 @@ static int decode_audio_block(AC3DecodeContext *s, int blk)
/* Compute excitation function, Compute masking curve, and
Apply delta bit allocation */
if (ff_ac3_bit_alloc_calc_mask(&s->bit_alloc_params, s->band_psd[ch],
- s->start_freq[ch], s->end_freq[ch],
- s->fast_gain[ch], (ch == s->lfe_ch),
- s->dba_mode[ch], s->dba_nsegs[ch],
- s->dba_offsets[ch], s->dba_lengths[ch],
- s->dba_values[ch], s->mask[ch])) {
+ s->start_freq[ch], s->end_freq[ch],
+ s->fast_gain[ch], (ch == s->lfe_ch),
+ s->dba_mode[ch], s->dba_nsegs[ch],
+ s->dba_offsets[ch], s->dba_lengths[ch],
+ s->dba_values[ch], s->mask[ch])) {
av_log(s->avctx, AV_LOG_ERROR, "error in bit allocation\n");
return -1;
}