[Mplayer-cvslog] CVS: main/libvo vo_xv.c,1.145,1.146
Attila Kinali CVS
attila at mplayerhq.hu
Sun Sep 7 00:42:25 CEST 2003
Update of /cvsroot/mplayer/main/libvo
In directory mail:/var/tmp.root/cvs-serv19471
Modified Files:
vo_xv.c
Log Message:
catch negative port numbers, just in case
Index: vo_xv.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_xv.c,v
retrieving revision 1.145
retrieving revision 1.146
diff -u -r1.145 -r1.146
--- vo_xv.c 6 Sep 2003 13:40:00 -0000 1.145
+++ vo_xv.c 6 Sep 2003 22:42:02 -0000 1.146
@@ -623,7 +623,7 @@
}
/* check adaptors */
- if(xv_port >= adaptors)
+ if(xv_port >= adaptors || xv_port < 0)
{
mp_msg(MSGT_VO, MSGL_WARN,"Xv: Invalid port parameter, overriding with port 0\n");
xv_port = 0;
More information about the MPlayer-cvslog
mailing list