Mercurial > mplayer.hg
changeset 10993:7f95a79ba916
10l
author | alex |
---|---|
date | Fri, 03 Oct 2003 22:32:28 +0000 |
parents | a22b67e448cf |
children | fb0b7fe53645 |
files | libmpcodecs/vf_yuy2.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
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");