# HG changeset patch # User reimar # Date 1226603107 0 # Node ID 80a16d26acda673631538ea89c7ad47f974de2c2 # Parent 986f96ad6815a411c200732bc5bc92e46339f385 Use the proper IMGFMT_RGB24 and IMGFMT_BGR24 defines instead of IMGFMT_RGB|24 and IMGFMT_BGR|24. diff -r 986f96ad6815 -r 80a16d26acda libvo/vo_png.c --- 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;