summaryrefslogtreecommitdiffstats
path: root/player/audio.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-01-19 21:33:05 +0100
committerwm4 <wm4@nowhere>2016-01-19 21:33:05 +0100
commitc365b44e19e1ab1cdb0d2aaca5360108d6da862a (patch)
treead2b09268e40e778ea805ce06b6ccf4c21a786bf /player/audio.c
parent7737499a7459e32cd95e20be9af319be8cba98df (diff)
downloadmpv-c365b44e19e1ab1cdb0d2aaca5360108d6da862a.tar.bz2
mpv-c365b44e19e1ab1cdb0d2aaca5360108d6da862a.tar.xz
audio: move dec_audio.pool to ad_spdif
That's where its only use is.
Diffstat (limited to 'player/audio.c')
-rw-r--r--player/audio.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/player/audio.c b/player/audio.c
index a7a5f727c7..d4b4d97f49 100644
--- a/player/audio.c
+++ b/player/audio.c
@@ -216,7 +216,6 @@ void reinit_audio_chain(struct MPContext *mpctx)
mpctx->d_audio->global = mpctx->global;
mpctx->d_audio->opts = opts;
mpctx->d_audio->header = sh;
- mpctx->d_audio->pool = mp_audio_pool_create(mpctx->d_audio);
mpctx->d_audio->afilter = af_new(mpctx->global);
mpctx->d_audio->afilter->replaygain_data = sh->codec->replaygain_data;
mpctx->d_audio->spdif_passthrough = true;