fixing scaled output

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4797 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
michael 2002-02-21 21:15:40 +00:00
parent 57e3534b04
commit ec21f4caa0
1 changed files with 2 additions and 2 deletions

View File

@ -94,8 +94,8 @@ config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uin
case IMGFMT_I420:
case IMGFMT_YV12:
bpp = 24;
cspace = RGB;
yuv2rgb_init(bpp,MODE_BGR);
cspace = BGR;
yuv2rgb_init(bpp,MODE_RGB);
image_data = malloc(image_width*image_height*3);
break;
default: