[FFmpeg-devel] [PATCH] dca: fix reading over the end of the allocated buffer (v2)

Carl Eugen Hoyos cehoyos
Sun Jan 9 20:12:29 CET 2011


Anssi Hannula <anssi.hannula <at> iki.fi> writes:

> @@ -280,7 +282,7 @@ typedef struct {
>      DECLARE_ALIGNED(16, float, samples)[(DCA_PRIM_CHANNELS_MAX+1)*256];
>      const float *samples_chanptr[DCA_PRIM_CHANNELS_MAX+1];
> 
> -    uint8_t dca_buffer[DCA_MAX_FRAME_SIZE];
> +    uint8_t dca_buffer[DCA_MAX_FRAME_SIZE + DCA_BUFFER_PADDING_SIZE];

This hunk doesn't apply and when I tried to fix one of your patches last time,
it went wrong...

CE





More information about the ffmpeg-devel mailing list