summaryrefslogtreecommitdiffstats
path: root/libvo/vo_bl.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_bl.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_bl.c')
-rw-r--r--libvo/vo_bl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/vo_bl.c b/libvo/vo_bl.c
index f99599fea2..1aaa5c888a 100644
--- a/libvo/vo_bl.c
+++ b/libvo/vo_bl.c
@@ -465,7 +465,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) {
switch (request) {
case VOCTRL_QUERY_FORMAT:
return query_format(*((uint32_t*)data));