Mercurial > mplayer.hg
changeset 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 | 986f96ad6815 |
children | b59875975f93 |
files | libvo/vo_png.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
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;