Mercurial > libavcodec.hg
changeset 6093:5562b898db5b libavcodec
cosmetics: rename sampling_rate to sample_rate
author | jbr |
---|---|
date | Sun, 30 Dec 2007 21:26:30 +0000 |
parents | 42bdc549a500 |
children | 07fc769bf4e2 |
files | ac3dec.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/ac3dec.c Sun Dec 30 21:24:49 2007 +0000 +++ b/ac3dec.c Sun Dec 30 21:26:30 2007 +0000 @@ -145,7 +145,7 @@ uint8_t dba_lengths[AC3_MAX_CHANNELS][8]; ///< delta segment lengths uint8_t dba_values[AC3_MAX_CHANNELS][8]; ///< delta values for each segment - int sampling_rate; ///< sample frequency, in Hz + int sample_rate; ///< sample frequency, in Hz int bit_rate; ///< stream bit rate, in bits-per-second int frame_size; ///< current frame size, in bytes @@ -337,7 +337,7 @@ surround_mix_level = gain_levels[surround_levels[hdr.surround_mix_level]]; s->lfe_on = hdr.lfe_on; s->bit_alloc_params.sr_shift = hdr.sr_shift; - s->sampling_rate = hdr.sample_rate; + s->sample_rate = hdr.sample_rate; s->bit_rate = hdr.bit_rate; s->channels = hdr.channels; s->fbw_channels = s->channels - s->lfe_on; @@ -1103,7 +1103,7 @@ return -1; } - avctx->sample_rate = s->sampling_rate; + avctx->sample_rate = s->sample_rate; avctx->bit_rate = s->bit_rate; /* check that reported frame size fits in input buffer */