[FFmpeg-cvslog] r23646 - in trunk/libavcodec: mpegaudio.h mpegaudiodec.c

Ramiro Polla ramiro.polla
Sun Jun 20 05:49:21 CEST 2010


On Sat, Jun 19, 2010 at 6:56 AM, vitor <subversion at mplayerhq.hu> wrote:
> +void ff_mpa_synth_filter(MPA_INT *synth_buf_ptr, int *synth_buf_offset,
> + ? ? ? ? ? ? ? ? ? ? ? ? MPA_INT *window, int *dither_state,
> + ? ? ? ? ? ? ? ? ? ? ? ? OUT_INT *samples, int incr,
> + ? ? ? ? ? ? ? ? ? ? ? ? INTFLOAT sb_samples[SBLIMIT])
> +{
> + ? ?register MPA_INT *synth_buf;
> + ? ?int offset;
> +#if FRAC_BITS <= 15
> + ? ?int32_t tmp[32];
> +#endif
> +
> + ? ?offset = *synth_buf_offset;
> + ? ?synth_buf = synth_buf_ptr + offset;
> +
> +#if FRAC_BITS <= 15 && !CONFIG_FLOAT
> + ? ?dct32(tmp, sb_samples);
> + ? ?for(j=0;j<32;j++) {
> + ? ? ? ?/* NOTE: can cause a loss in precision if very high amplitude
> + ? ? ? ? ? sound */
> + ? ? ? ?synth_buf[j] = av_clip_int16(tmp[j]);
> + ? ?}
> +#else
> + ? ?dct32(synth_buf, sb_samples);
> +#endif
> +
> + ? ?apply_window_mp3_c(synth_buf, window, dither_state, samples, incr);

$ ./configure --disable-mpegaudio-hp
$ make libavcodec/mpegaudiodec.o
CC  libavcodec/mpegaudiodec.o
libavcodec/mpegaudiodec.c: In function ?ff_mpa_synth_filter?:
libavcodec/mpegaudiodec.c:936: error: ?j? undeclared (first use in
this function)
libavcodec/mpegaudiodec.c:936: error: (Each undeclared identifier is
reported only once
libavcodec/mpegaudiodec.c:936: error: for each function it appears in.)
libavcodec/mpegaudiodec.c: In function ?compute_antialias_float?:
libavcodec/mpegaudiodec.c:1846: warning: assignment from incompatible
pointer type
make: *** [libavcodec/mpegaudiodec.o] Error 1



More information about the ffmpeg-cvslog mailing list