summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-11-26 16:30:42 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-11-26 16:30:42 +0000
commit669b0697b08ad52641be746a8be501f444858871 (patch)
treeec35d5248491c16dbb2ebce15c63d367cd700f29 /libvo
parent513bd7461dbfe6aff0d1d4ee96299694f637dcb8 (diff)
downloadmpv-669b0697b08ad52641be746a8be501f444858871.tar.bz2
mpv-669b0697b08ad52641be746a8be501f444858871.tar.xz
Use D3DFMT_ constants where possible instead of MAKEFOURCC
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28041 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_direct3d.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libvo/vo_direct3d.c b/libvo/vo_direct3d.c
index 610759492e..3b9ce21968 100644
--- a/libvo/vo_direct3d.c
+++ b/libvo/vo_direct3d.c
@@ -88,8 +88,8 @@ static const struct_fmt_table fmt_table[] = {
{IMGFMT_I420, MAKEFOURCC('I','4','2','0')},
{IMGFMT_IYUV, MAKEFOURCC('I','Y','U','V')},
{IMGFMT_YVU9, MAKEFOURCC('Y','V','U','9')},
- {IMGFMT_YUY2, MAKEFOURCC('Y','U','Y','2')},
- {IMGFMT_UYVY, MAKEFOURCC('U','Y','V','Y')},
+ {IMGFMT_YUY2, D3DFMT_YUY2},
+ {IMGFMT_UYVY, D3DFMT_UYVY},
{IMGFMT_BGR32, D3DFMT_X8R8G8B8},
{IMGFMT_RGB32, D3DFMT_X8B8G8R8},
{IMGFMT_BGR24, D3DFMT_R8G8B8}, //untested