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 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;