diff libvo/vo_png.c @ 27873:80a16d26acda

Use the proper IMGFMT_RGB24 and IMGFMT_BGR24 defines instead of IMGFMT_RGB|24 and IMGFMT_BGR|24.
author reimar
date Thu, 13 Nov 2008 19:05:07 +0000
parents 710704af0926
children 77c7b422a49d
line wrap: on
line diff
--- a/libvo/vo_png.c	Thu Nov 13 17:18:40 2008 +0000
+++ b/libvo/vo_png.c	Thu Nov 13 19:05:07 2008 +0000
@@ -247,8 +247,8 @@
 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;