src/audio/SDL_audiocvt.c
changeset 2738 79c1bd651f04
parent 2728 2768bd7281e0
child 2760 02aa80d7905f
     1.1 --- a/src/audio/SDL_audiocvt.c	Sun Aug 31 16:04:32 2008 +0000
     1.2 +++ b/src/audio/SDL_audiocvt.c	Mon Sep 01 16:04:20 2008 +0000
     1.3 @@ -1622,7 +1622,6 @@
     1.4  SDL_BuildWindowedSinc(SDL_AudioCVT * cvt, SDL_AudioFormat format,
     1.5                        unsigned int m)
     1.6  {
     1.7 -    float fScale;               /* scale factor for fixed point */
     1.8      float *fSinc;               /* floating point sinc buffer, to be converted to fixed point */
     1.9      float fc;                   /* cutoff frequency */
    1.10      float two_pi_fc, two_pi_over_m, four_pi_over_m, m_over_two;
    1.11 @@ -1708,6 +1707,8 @@
    1.12      /* Clean up */
    1.13  #undef convert_fixed
    1.14      SDL_stack_free(fSinc);
    1.15 +
    1.16 +    return 0;
    1.17  }
    1.18  
    1.19  /* This is used to reduce the resampling ratio */