[MPlayer-cvslog] r27907 - trunk/libvo/vo_png.c

reimar subversion at mplayerhq.hu
Thu Nov 13 20:05:07 CET 2008


Author: reimar
Date: Thu Nov 13 20:05:07 2008
New Revision: 27907

Log:
Use the proper IMGFMT_RGB24 and IMGFMT_BGR24 defines instead of
IMGFMT_RGB|24 and IMGFMT_BGR|24.


Modified:
   trunk/libvo/vo_png.c

Modified: trunk/libvo/vo_png.c
==============================================================================
--- trunk/libvo/vo_png.c	(original)
+++ trunk/libvo/vo_png.c	Thu Nov 13 20:05:07 2008
@@ -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;



More information about the MPlayer-cvslog mailing list