diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-11-13 19:05:07 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-11-13 19:05:07 +0000 |
commit | 36dade769372f2acb7c25f8bc519486e8ac59c14 (patch) | |
tree | 100f25e767d24ba3556e73b9b33ff7b2c4d88544 /libvo | |
parent | acd3b32cc8d1086ae3e67b31a0a265f6ce1c39ff (diff) | |
download | mpv-36dade769372f2acb7c25f8bc519486e8ac59c14.tar.bz2 mpv-36dade769372f2acb7c25f8bc519486e8ac59c14.tar.xz |
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
Diffstat (limited to 'libvo')
-rw-r--r-- | libvo/vo_png.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libvo/vo_png.c b/libvo/vo_png.c index e091f2c246..7c0f439f69 100644 --- a/libvo/vo_png.c +++ b/libvo/vo_png.c @@ -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; |