summaryrefslogtreecommitdiffstats
path: root/audio/decode/ad_spdif.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-04-12 20:32:10 +0200
committerwm4 <wm4@nowhere>2013-04-12 20:35:59 +0200
commit3097176ff1b43991ae78990bb06e8c21981e4170 (patch)
treeb6fb0b200f52e5936009bc2663bae99346d89250 /audio/decode/ad_spdif.c
parentad3dfa145bd7657fc3bfe884ab7250a51688a1f4 (diff)
downloadmpv-3097176ff1b43991ae78990bb06e8c21981e4170.tar.bz2
mpv-3097176ff1b43991ae78990bb06e8c21981e4170.tar.xz
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.
Diffstat (limited to 'audio/decode/ad_spdif.c')
-rw-r--r--audio/decode/ad_spdif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/decode/ad_spdif.c b/audio/decode/ad_spdif.c
index ad735dde7d..2101721430 100644
--- a/audio/decode/ad_spdif.c
+++ b/audio/decode/ad_spdif.c
@@ -270,7 +270,7 @@ static int decode_audio(sh_audio_t *sh, unsigned char *buf,
return spdif_ctx->out_buffer_len;
}
-static int control(sh_audio_t *sh, int cmd, void* arg, ...)
+static int control(sh_audio_t *sh, int cmd, void *arg)
{
unsigned char *start;
double pts;