[FFmpeg-devel] MMX optimized functions in yuv2rgb_template.c ignore trailing pixels for non-aligned destination width

Diego Biurrun diego
Fri Apr 17 16:48:34 CEST 2009


On Fri, Apr 17, 2009 at 04:15:00PM +0200, C?dric Schieli wrote:
> sws_yuv2rgb_split_out_macros.patch :
> splits out PUTRGB* macros from yuv2rgb.c into a separate yuv2rgb.h so
> they can be reused in yuv2rgb_template.c

> --- /dev/null	1970-01-01 00:00:00.000000000 +0000
> +++ ffmpeg/libswscale/yuv2rgb.h	2009-04-17 09:53:16.117934003 +0200
> @@ -0,0 +1,92 @@
> +
> +#ifndef SWSCALE_YUV2RGB_H
> +#define SWSCALE_YUV2RGB_H
> +
> + [...]
> +
> +#endif

Please add an /* #endif comment */.

Diego



More information about the ffmpeg-devel mailing list