summaryrefslogtreecommitdiffstats
path: root/libvo/vo_png.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/vo_png.c')
-rw-r--r--libvo/vo_png.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libvo/vo_png.c b/libvo/vo_png.c
index 3c5f109aa2..ac0e99587e 100644
--- a/libvo/vo_png.c
+++ b/libvo/vo_png.c
@@ -191,8 +191,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;