[MPlayer-cvslog] CVS: main/libvo vo_gl.c, 1.63, 1.64 vo_pnm.c, 1.4, 1.5

Alexander Strasser beastd syncmail at mplayerhq.hu
Sat Feb 19 21:14:02 CET 2005


CVS change done by Alexander Strasser (beastd)

Update of /cvsroot/mplayer/main/libvo
In directory mail:/var2/tmp/cvs-serv19424/libvo

Modified Files:
	vo_gl.c vo_pnm.c 
Log Message:
Move generic tests to a common place.


Index: vo_gl.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_gl.c,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -r1.63 -r1.64
--- vo_gl.c	8 Jan 2005 17:58:56 -0000	1.63
+++ vo_gl.c	19 Feb 2005 20:13:59 -0000	1.64
@@ -472,13 +472,6 @@
   vo_x11_uninit();
 }
 
-static int int_non_neg(int *sh)
-{
-  if ( *sh < 0 )
-    return 0;
-  return 1;
-}
-
 static opt_t subopts[] = {
   {"manyfmts",     OPT_ARG_BOOL, &many_fmts,    NULL},
   {"osd",          OPT_ARG_BOOL, &use_osd,      NULL},

Index: vo_pnm.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_pnm.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- vo_pnm.c	19 Jan 2005 17:10:20 -0000	1.4
+++ vo_pnm.c	19 Feb 2005 20:14:00 -0000	1.5
@@ -103,16 +103,6 @@
 
 /* ------------------------------------------------------------------------- */
 
-/** \brief Validation function for maxfiles
- */
-
-static int int_pos(int *mf)
-{
-    if ( *mf > 0 )
-        return 1;
-    return 0;
-}
-
 /** \brief Pre-initialisation.
  *
  * This function is called before initialising the video output driver. It




More information about the MPlayer-cvslog mailing list