Mercurial > mplayer.hg
diff libmpcodecs/vf_yuy2.c @ 10993:7f95a79ba916
10l
author | alex |
---|---|
date | Fri, 03 Oct 2003 22:32:28 +0000 |
parents | 89da8ec89558 |
children | 6ff3379a0862 |
line wrap: on
line diff
--- a/libmpcodecs/vf_yuy2.c Fri Oct 03 22:30:35 2003 +0000 +++ b/libmpcodecs/vf_yuy2.c Fri Oct 03 22:32:28 2003 +0000 @@ -12,12 +12,15 @@ #include "../libvo/fastmemcpy.h" #include "../postproc/rgb2rgb.h" +#include "vf_scale.h" //===========================================================================// static int config(struct vf_instance_s* vf, int width, int height, int d_width, int d_height, unsigned int flags, unsigned int outfmt){ + + sws_rgb2rgb_init(get_sws_cpuflags()); if(vf_next_query_format(vf,IMGFMT_YUY2)<=0){ printf("yuy2 not supported by next filter/vo :(\n");