From 36dade769372f2acb7c25f8bc519486e8ac59c14 Mon Sep 17 00:00:00 2001 From: reimar Date: Thu, 13 Nov 2008 19:05:07 +0000 Subject: [PATCH] Use the proper IMGFMT_RGB24 and IMGFMT_BGR24 defines instead of IMGFMT_RGB|24 and IMGFMT_BGR|24. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27907 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_png.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libvo/vo_png.c b/libvo/vo_png.c index e091f2c246..7c0f439f69 100644 --- a/libvo/vo_png.c +++ b/libvo/vo_png.c @@ -247,8 +247,8 @@ static int query_format(uint32_t format) { switch(format){ - case IMGFMT_RGB|24: - case IMGFMT_BGR|24: + case IMGFMT_RGB24: + case IMGFMT_BGR24: return VFCAP_CSP_SUPPORTED|VFCAP_CSP_SUPPORTED_BY_HW|VFCAP_ACCEPT_STRIDE; } return 0;