[Ffmpeg-cvslog] r8420 - trunk/libavcodec/dv.c
Rich Felker
dalias
Sun Mar 25 04:47:25 CEST 2007
On Fri, Mar 16, 2007 at 12:45:20AM +0100, gpoirier wrote:
> Author: gpoirier
> Date: Fri Mar 16 00:45:20 2007
> New Revision: 8420
>
> Modified:
> trunk/libavcodec/dv.c
>
> Log:
> force 16-bytes alignement of block array, as needed by the implementation of ff_dct_sse2
> patch by John Dalgliesh %johnd A defyne P org%
>
>
> Modified: trunk/libavcodec/dv.c
> ==============================================================================
> --- trunk/libavcodec/dv.c (original)
> +++ trunk/libavcodec/dv.c Fri Mar 16 00:45:20 2007
> @@ -838,7 +838,7 @@ static inline void dv_encode_video_segme
> uint8_t* data;
> uint8_t* ptr;
> int do_edge_wrap;
> - DECLARE_ALIGNED_8(DCTELEM, block[64]);
> + DECLARE_ALIGNED_16(DCTELEM, block[64]);
Aligned data on the stack does not work anyway. If you want to use it,
you need to just declare an extra-large array and then align it
yourself in code.. Blame the gcc developers.
Rich
More information about the ffmpeg-cvslog
mailing list