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
This commit is contained in:
reimar 2008-11-13 19:05:07 +00:00
parent acd3b32cc8
commit 36dade7693
1 changed files with 2 additions and 2 deletions

View File

@ -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;