[FFmpeg-soc] [soc]: r2717 - nellyenc/nellymoserenc.c

Robert Swain robert.swain at gmail.com
Mon Jul 7 16:09:09 CEST 2008


2008/7/7 bwolowiec <subversion at mplayerhq.hu>:
> @@ -116,9 +116,9 @@ static av_cold int encode_init(AVCodecCo
>     dsputil_init(&s->dsp, avctx);
>
>     /* Generate overlap window */
> -    if (!sine_window2[0])
> +    if (!sine_window[0])
>         for (i=0 ; i<256; i++) {
> -            sine_window2[i] = sin((i + 0.5) / 256.0 * M_PI) /8;
> +            sine_window[i] = sin((i + 0.5) / 256.0 * M_PI) /8;
>         }

When using ff_sine_window_init(), you'll need to merge that /8 into
some other scaling factor.

Rob



More information about the FFmpeg-soc mailing list