summaryrefslogtreecommitdiffstats
path: root/libvo/vo_xover.c
diff options
context:
space:
mode:
authorUoti Urpala <uau@symbol.nonexistent.invalid>2008-04-02 19:38:34 +0300
committerUoti Urpala <uau@symbol.nonexistent.invalid>2008-04-23 13:41:03 +0300
commitde56d2d9f5b3c5b11c73fba0d01323197d009e04 (patch)
treeb4bf2e9d6da4bb881d1913458a880d34a9da840b /libvo/vo_xover.c
parentdbe080ec9f05cd216f4217c81409a37d3f4db969 (diff)
downloadmpv-de56d2d9f5b3c5b11c73fba0d01323197d009e04.tar.bz2
mpv-de56d2d9f5b3c5b11c73fba0d01323197d009e04.tar.xz
Remove variable arguments from vo control() functions
No voctrl uses them any more, and using them would not be a good idea because it makes forwarding arguments to other functions harder.
Diffstat (limited to 'libvo/vo_xover.c')
-rw-r--r--libvo/vo_xover.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libvo/vo_xover.c b/libvo/vo_xover.c
index 46f8f83fcf..77d8306151 100644
--- a/libvo/vo_xover.c
+++ b/libvo/vo_xover.c
@@ -427,7 +427,7 @@ static int preinit(const char *arg)
return 0;
}
-static int control(uint32_t request, void *data, ...)
+static int control(uint32_t request, void *data)
{
if(!sub_vo) return VO_ERROR;
switch (request) {
@@ -449,7 +449,6 @@ static int control(uint32_t request, void *data, ...)
}
return VO_TRUE;
default:
- // Safe atm bcs nothing use more than 1 arg
return sub_vo->control(request,data);
}
return VO_NOTIMPL;