[FFmpeg-cvslog] r9693 - trunk/libavcodec/cook.c

Alex Beregszaszi alex
Mon Jul 16 13:38:04 CEST 2007


Hi,

> --- trunk/libavcodec/cook.c	(original)
> +++ trunk/libavcodec/cook.c	Mon Jul 16 03:28:58 2007
> @@ -819,6 +819,26 @@ decode_bytes_and_gain(COOKContext *q, ui
>      FFSWAP(int *, gains_ptr->now, gains_ptr->previous);
>  }
>  
> + /**
> + * Saturate the output signal to signed 16bit integers.
> + *
> + * @param q                 pointer to the COOKContext
> + * @param chan              channel to saturate
> + * @param out               pointer to the output vector
> + */
> +static void
> +saturate_output_float (COOKContext *q, int chan, int16_t *out)
> +{
> +    int j;
> +    float_t *output = q->mono_mdct_output + q->samples_per_channel;

You broke compilation with this, there is no float_t defined yet.

--
Alex






More information about the ffmpeg-cvslog mailing list