changeset 26975:553265fda2a6

Drop some useless parameter from vidix init routine
author ben
date Sat, 07 Jun 2008 10:56:42 +0000
parents 7042def3416f
children 48d377ee42ac
files libvo/vosub_vidix.c vidix/vidixlib.c vidix/vidixlib.h
diffstat 3 files changed, 4 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vosub_vidix.c	Sat Jun 07 10:54:07 2008 +0000
+++ b/libvo/vosub_vidix.c	Sat Jun 07 10:56:42 2008 +0000
@@ -645,13 +645,11 @@
 	  return -1;
 	}
 #ifndef __MINGW32__
-	vidix_handler = vdlOpen(NULL,
-				drvname ? drvname[0] == ':' ? &drvname[1] : drvname[0] ? drvname : NULL : NULL,
+	vidix_handler = vdlOpen(drvname ? drvname[0] == ':' ? &drvname[1] : drvname[0] ? drvname : NULL : NULL,
 				TYPE_OUTPUT,
 				verbose);
 #else
-	vidix_handler = vdlOpen(get_path("vidix/"),
-				drvname ? drvname[0] == ':' ? &drvname[1] : drvname[0] ? drvname : NULL : NULL,
+	vidix_handler = vdlOpen(drvname ? drvname[0] == ':' ? &drvname[1] : drvname[0] ? drvname : NULL : NULL,
 				TYPE_OUTPUT,
 				verbose);
 #endif              
--- a/vidix/vidixlib.c	Sat Jun 07 10:54:07 2008 +0000
+++ b/vidix/vidixlib.c	Sat Jun 07 10:56:42 2008 +0000
@@ -49,7 +49,7 @@
    return VIDIX_VERSION;
 }
 
-VDL_HANDLE vdlOpen(const char *path,const char *name,unsigned cap,int verbose)
+VDL_HANDLE vdlOpen(const char *name,unsigned cap,int verbose)
 {
   VDXContext *ctx;
 
--- a/vidix/vidixlib.h	Sat Jun 07 10:54:07 2008 +0000
+++ b/vidix/vidixlib.h	Sat Jun 07 10:56:42 2008 +0000
@@ -85,7 +85,7 @@
 			   verbose - specifies verbose level
 			   returns !0 if ok else NULL.
 			   */
-VDL_HANDLE vdlOpen(const char *path,const char *name,unsigned cap,int verbose);
+VDL_HANDLE vdlOpen(const char *name,unsigned cap,int verbose);
 			/* Closes stream and corresponded driver. */
 void	  vdlClose(VDL_HANDLE ctx);