diff options
author | wm4 <wm4@nowhere> | 2013-04-12 20:32:10 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-04-12 20:35:59 +0200 |
commit | 3097176ff1b43991ae78990bb06e8c21981e4170 (patch) | |
tree | b6fb0b200f52e5936009bc2663bae99346d89250 /audio/decode/ad.h | |
parent | ad3dfa145bd7657fc3bfe884ab7250a51688a1f4 (diff) | |
download | mpv-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.h')
-rw-r--r-- | audio/decode/ad.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/decode/ad.h b/audio/decode/ad.h index 3bc3e39267..0bbc11ed9b 100644 --- a/audio/decode/ad.h +++ b/audio/decode/ad.h @@ -34,7 +34,7 @@ typedef struct ad_functions int (*preinit)(sh_audio_t *sh); int (*init)(sh_audio_t *sh, const char *decoder); void (*uninit)(sh_audio_t *sh); - int (*control)(sh_audio_t *sh,int cmd,void* arg, ...); + int (*control)(sh_audio_t *sh, int cmd, void *arg); int (*decode_audio)(sh_audio_t *sh, unsigned char *buffer, int minlen, int maxlen); } ad_functions_t; |