changeset 712:ea093aa3ecae

-bpp bug fixed.
author se7encode
date Sun, 06 May 2001 19:38:57 +0000
parents d73d1b2a565a
children 9355b2ae634e
files libvo/vo_svga.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_svga.c	Sun May 06 10:42:22 2001 +0000
+++ b/libvo/vo_svga.c	Sun May 06 19:38:57 2001 +0000
@@ -377,6 +377,7 @@
 
   // if (vo_dbpp) => There is NO conversion!!!
   if (vo_dbpp) {
+    if (format == IMGFMT_YV12) return (1);
     switch (vo_dbpp) {
       case 32: if ((format == IMGFMT_RGB32) || (format == IMGFMT_BGR32))
                  return ((bpp_avail & BPP_32) ? 1 : 0);