From 3097176ff1b43991ae78990bb06e8c21981e4170 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 12 Apr 2013 20:32:10 +0200 Subject: audio/decode: remove vararg from ad_control() This was unused and dumb. Ancient MPlayer used varargs instead of void* arguments for control() functions, and this was the last leftover. --- audio/decode/ad_mpg123.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'audio/decode/ad_mpg123.c') diff --git a/audio/decode/ad_mpg123.c b/audio/decode/ad_mpg123.c index 999dc2fbba..c17edc9197 100644 --- a/audio/decode/ad_mpg123.c +++ b/audio/decode/ad_mpg123.c @@ -455,7 +455,7 @@ static int decode_audio(sh_audio_t *sh, unsigned char *buf, int minlen, return bytes; } -static int control(sh_audio_t *sh, int cmd, void *arg, ...) +static int control(sh_audio_t *sh, int cmd, void *arg) { switch (cmd) { case ADCTRL_RESYNC_STREAM: -- cgit v1.2.3