From 0b427c54adad8c776bad8bdb0fd244fccc625c68 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 12 Feb 2016 16:00:14 +0100 Subject: player: remove double assignment in declaration Fixes CID 1350058. (Still looks like this might be valid C, in some fucked up way.) --- player/audio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'player') 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); -- cgit v1.2.3