diff options
author | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-09-02 17:44:38 +0000 |
---|---|---|
committer | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-09-02 17:44:38 +0000 |
commit | 5e1ed4101b1ecf8474fc13e318ad1e4ef2db068a (patch) | |
tree | 9111df79e51d51c6582f1b4bba3927a35da6ba1f /libvo | |
parent | 63ee7c8f409f445a7d6bc27364466f6b67fa18ad (diff) | |
download | mpv-5e1ed4101b1ecf8474fc13e318ad1e4ef2db068a.tar.bz2 mpv-5e1ed4101b1ecf8474fc13e318ad1e4ef2db068a.tar.xz |
1000l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10803 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r-- | libvo/vo_yuv4mpeg.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libvo/vo_yuv4mpeg.c b/libvo/vo_yuv4mpeg.c index 61116ba4ff..89920cf937 100644 --- a/libvo/vo_yuv4mpeg.c +++ b/libvo/vo_yuv4mpeg.c @@ -36,7 +36,7 @@ #include "fastmemcpy.h" #include "../postproc/rgb2rgb.h" - +#include "../libmpcodecs/vf_scale.h" static vo_info_t info = { @@ -106,6 +106,7 @@ static uint32_t config(uint32_t width, uint32_t height, uint32_t d_width, if(using_format != IMGFMT_YV12) { + sws_rgb2rgb_init(get_sws_cpuflags()); rgb_buffer = malloc(image_width * image_height * 3); if (!rgb_buffer) { |