diff options
author | wm4 <wm4@nowhere> | 2013-11-23 21:26:04 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-11-23 21:26:04 +0100 |
commit | 9f4820f6ec1721dc73335cb64b5a5e63170bf379 (patch) | |
tree | 9e65f7438d444021a32997518b328654be8e0b46 /audio/decode/ad_spdif.c | |
parent | 0e84dafdf084c7d9da30ef7b0e0b2ca05da68157 (diff) | |
download | mpv-9f4820f6ec1721dc73335cb64b5a5e63170bf379.tar.bz2 mpv-9f4820f6ec1721dc73335cb64b5a5e63170bf379.tar.xz |
audio: remove ad_driver.preinit
This never had any real use. Get rid of dec_audio.initialized too, as
it's redundant.
Diffstat (limited to 'audio/decode/ad_spdif.c')
-rw-r--r-- | audio/decode/ad_spdif.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/audio/decode/ad_spdif.c b/audio/decode/ad_spdif.c index e0c0e88671..059022e5e3 100644 --- a/audio/decode/ad_spdif.c +++ b/audio/decode/ad_spdif.c @@ -72,11 +72,6 @@ static void uninit(struct dec_audio *da) } } -static int preinit(struct dec_audio *da) -{ - return 1; -} - static int init(struct dec_audio *da, const char *decoder) { struct spdifContext *spdif_ctx = talloc_zero(NULL, struct spdifContext); @@ -254,7 +249,6 @@ static void add_decoders(struct mp_decoder_list *list) const struct ad_functions ad_spdif = { .name = "spdif", .add_decoders = add_decoders, - .preinit = preinit, .init = init, .uninit = uninit, .control = control, |