[FFmpeg-devel] [PATCH 01/11] Mark qmf_window table static to atrac.c unit.

Måns Rullgård mans
Tue Jan 25 00:43:19 CET 2011


Diego Elio Petten? <flameeyes at gmail.com> writes:

> The table is not used anywhere else on libavcodec.
> ---
>  libavcodec/atrac.c |    2 +-
>  libavcodec/atrac.h |    1 -
>  2 files changed, 1 insertions(+), 2 deletions(-)
>
> diff --git a/libavcodec/atrac.c b/libavcodec/atrac.c
> index e398cee..1f7a69e 100644
> --- a/libavcodec/atrac.c
> +++ b/libavcodec/atrac.c
> @@ -33,7 +33,7 @@
>  #include "atrac.h"
>
>  float sf_table[64];
> -float qmf_window[48];
> +static float qmf_window[48];
>
>  static const float qmf_48tap_half[24] = {
>     -0.00001461907, -0.00009205479,-0.000056157569,0.00030117269,
> diff --git a/libavcodec/atrac.h b/libavcodec/atrac.h
> index 0732da0..acaa4ce 100644
> --- a/libavcodec/atrac.h
> +++ b/libavcodec/atrac.h
> @@ -30,7 +30,6 @@
>
>  extern float sf_table[64];
> -extern float qmf_window[48];
>
>  void atrac_generate_tables(void);
>  void atrac_iqmf (float *inlo, float *inhi, unsigned int nIn, float *pOut, float *delayBuf, float *temp);
> -- 
> 1.7.4.rc2

OK

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-devel mailing list