mirror of https://github.com/mpv-player/mpv
player: remove double assignment in declaration
Fixes CID 1350058. (Still looks like this might be valid C, in some fucked up way.)
This commit is contained in:
parent
0287736119
commit
0b427c54ad
|
@ -430,7 +430,7 @@ void reinit_audio_chain_src(struct MPContext *mpctx, struct lavfi_pad *src)
|
||||||
|
|
||||||
mp_notify(mpctx, MPV_EVENT_AUDIO_RECONFIG, NULL);
|
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;
|
mpctx->ao_chain = ao_c;
|
||||||
ao_c->log = mpctx->log;
|
ao_c->log = mpctx->log;
|
||||||
ao_c->af = af_new(mpctx->global);
|
ao_c->af = af_new(mpctx->global);
|
||||||
|
|
Loading…
Reference in New Issue