mirror of https://github.com/mpv-player/mpv
ao_pulse: bug fix: goto the correct error handler
Conflicts: audio/out/ao_pulse.c
This commit is contained in:
parent
0dd66b8b2c
commit
568ab3672a
|
@ -299,11 +299,11 @@ static int init(struct ao *ao)
|
|||
|
||||
if (!pa_sample_spec_valid(&ss)) {
|
||||
mp_msg(MSGT_AO, MSGL_ERR, "AO: [pulse] Invalid sample spec\n");
|
||||
goto fail;
|
||||
goto unlock_and_fail;
|
||||
}
|
||||
|
||||
if (!select_chmap(ao, &map))
|
||||
goto fail;
|
||||
goto unlock_and_fail;
|
||||
|
||||
if (!(proplist = pa_proplist_new())) {
|
||||
mp_msg(MSGT_AO, MSGL_ERR, "AO: [pulse] Failed to allocate proplist\n");
|
||||
|
|
Loading…
Reference in New Issue