summaryrefslogtreecommitdiff
path: root/libavcodec/ac3dec.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2007-12-02 15:43:08 +0000
committerDiego Biurrun <diego@biurrun.de>2007-12-02 15:43:08 +0000
commit56cc85a068870cfa1c3bcc39c7e312b6a0fe8ca3 (patch)
treea073e66be5f151ff7b92b3f38f96b0ed54d713fb /libavcodec/ac3dec.c
parent737278c86a41936a5d3bd29074b2883c31a4b657 (diff)
Misc spelling fixes, prefer American over British English.
Originally committed as revision 11126 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ac3dec.c')
-rw-r--r--libavcodec/ac3dec.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/ac3dec.c b/libavcodec/ac3dec.c
index 6fd1e479bf..2996881e7b 100644
--- a/libavcodec/ac3dec.c
+++ b/libavcodec/ac3dec.c
@@ -73,7 +73,7 @@ static const uint8_t qntztab[16] = {
/** dynamic range table. converts codes to scale factors. */
static float dynrng_tab[256];
-/** dialogue normalization table */
+/** dialog normalization table */
static float dialnorm_tab[32];
/** Adjustments in dB gain */
@@ -161,7 +161,7 @@ typedef struct {
int out_channels; ///< number of output channels
float downmix_coeffs[AC3_MAX_CHANNELS][2]; ///< stereo downmix coefficients
- float dialnorm[2]; ///< dialogue normalization
+ float dialnorm[2]; ///< dialog normalization
float dynrng[2]; ///< dynamic range
float cplco[AC3_MAX_CHANNELS][18]; ///< coupling coordinates
int ncplbnd; ///< number of coupling bands
@@ -276,7 +276,7 @@ static void ac3_tables_init(void)
dynrng_tab[i] = powf(2.0f, v) * ((i & 0x1F) | 0x20);
}
- /* generate dialogue normalization table
+ /* generate dialog normalization table
references: Section 5.4.2.8 dialnorm
Section 7.6 Dialogue Normalization */
for(i=1; i<32; i++) {
@@ -382,7 +382,7 @@ static int ac3_parse_header(AC3DecodeContext *ctx)
/* read the rest of the bsi. read twice for dual mono mode. */
i = !(ctx->acmod);
do {
- ctx->dialnorm[i] = dialnorm_tab[get_bits(gb, 5)]; // dialogue normalization
+ ctx->dialnorm[i] = dialnorm_tab[get_bits(gb, 5)]; // dialog normalization
if (get_bits1(gb))
skip_bits(gb, 8); //skip compression
if (get_bits1(gb))