Commit bed6cde0 authored by Gildas Bazin's avatar Gildas Bazin

* ALL: shut-up compiler warnings (patch by Michael Roitzsch <mroi at users dot...

* ALL: shut-up compiler warnings (patch by Michael Roitzsch <mroi at users dot sourceforge dot net>).
parent ed694a31
......@@ -440,7 +440,7 @@ int dts_frame (dts_state_t * state, uint8_t * buf, int * flags,
return 0;
}
int dts_subframe_header (dts_state_t * state)
static int dts_subframe_header (dts_state_t * state)
{
/* Primary audio coding side information */
int j, k;
......@@ -754,7 +754,7 @@ int dts_subframe_header (dts_state_t * state)
return 0;
}
int dts_subsubframe (dts_state_t * state)
static int dts_subsubframe (dts_state_t * state)
{
int k, l;
int subsubframe = state->current_subsubframe;
......@@ -979,8 +979,8 @@ int dts_subsubframe (dts_state_t * state)
/* 32 subbands QMF */
for (k = 0; k < state->prim_channels; k++)
{
static double pcm_to_float[8] =
{32768.0, 32768.0, 524288.0, 524288.0, 0, 8388608.0, 8388608.0};
/*static double pcm_to_float[8] =
{32768.0, 32768.0, 524288.0, 524288.0, 0, 8388608.0, 8388608.0};*/
qmf_32_subbands (state, k,
subband_samples[k],
......@@ -1017,7 +1017,7 @@ int dts_subsubframe (dts_state_t * state)
return 0;
}
int dts_subframe_footer (dts_state_t * state)
static int dts_subframe_footer (dts_state_t * state)
{
int aux_data_count = 0, i;
int lfe_samples;
......
......@@ -41,7 +41,7 @@ static const uint8_t dts_channels[] =
1, 2, 2, 2, 2, 3, 3, 4, 4, 5, 6, 6, 6, 7, 8, 8
};
static uint8_t dts_bits_per_sample[] =
static const uint8_t dts_bits_per_sample[] =
{
16, 16, 20, 20, 0, 24, 24
};
......@@ -1045,7 +1045,7 @@ huff_entry_t *bitalloc_select[11][8] =
bitalloc_e_129, bitalloc_f_129, bitalloc_g_129, 0 },
};
int InverseQ( dts_state_t * state, huff_entry_t * huff )
static int InverseQ( dts_state_t * state, huff_entry_t * huff )
{
int value = 0;
int length = 0, j;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment