[Mplayer-cvslog] CVS: main/libmpcodecs vd_zlib.c,1.3,1.4
    Alex Beregszaszi 
    alex at mplayer.dev.hu
       
    Sat Mar 23 18:16:52 CET 2002
    
    
  
Update of /cvsroot/mplayer/main/libmpcodecs
In directory mplayer:/var/tmp.root/cvs-serv11422
Modified Files:
	vd_zlib.c 
Log Message:
fixed query format
Index: vd_zlib.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vd_zlib.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- vd_zlib.c	23 Mar 2002 16:56:05 -0000	1.3
+++ vd_zlib.c	23 Mar 2002 17:16:49 -0000	1.4
@@ -35,8 +35,10 @@
     {
 	case VDCTRL_QUERY_FORMAT:
 	{
-	    *((int*)arg) = IMGFMT_BGR24;
-	    return(CONTROL_TRUE);
+	    if (*((int*)arg) == IMGFMT_BGR24)
+		return(CONTROL_TRUE);
+	    else
+		return(CONTROL_FALSE);
 	}
     }
     return(CONTROL_UNKNOWN);
    
    
More information about the MPlayer-cvslog
mailing list