summaryrefslogtreecommitdiffstats
path: root/player
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-02-12 16:00:14 +0100
committerwm4 <wm4@nowhere>2016-02-12 16:00:20 +0100
commit0b427c54adad8c776bad8bdb0fd244fccc625c68 (patch)
treeae8763315d564b7e98b1787bf066509be79b83ef /player
parent028773611949186865ea6977eca9493b2fc57853 (diff)
downloadmpv-0b427c54adad8c776bad8bdb0fd244fccc625c68.tar.bz2
mpv-0b427c54adad8c776bad8bdb0fd244fccc625c68.tar.xz
player: remove double assignment in declaration
Fixes CID 1350058. (Still looks like this might be valid C, in some fucked up way.)
Diffstat (limited to 'player')
-rw-r--r--player/audio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/player/audio.c b/player/audio.c
index 9634891283..966c998e12 100644
--- a/player/audio.c
+++ b/player/audio.c
@@ -430,7 +430,7 @@ void reinit_audio_chain_src(struct MPContext *mpctx, struct lavfi_pad *src)
mp_notify(mpctx, MPV_EVENT_AUDIO_RECONFIG, NULL);
- struct ao_chain *ao_c = ao_c = talloc_zero(NULL, struct ao_chain);
+ struct ao_chain *ao_c = talloc_zero(NULL, struct ao_chain);
mpctx->ao_chain = ao_c;
ao_c->log = mpctx->log;
ao_c->af = af_new(mpctx->global);