mirror of
https://github.com/mpv-player/mpv
synced 2025-01-29 11:12:56 +00:00
player: free queued audio frame on uninit
This commit is contained in:
parent
fae88b8113
commit
7c991706c5
@ -201,6 +201,7 @@ void uninit_audio_out(struct MPContext *mpctx)
|
||||
static void ao_chain_uninit(struct ao_chain *ao_c)
|
||||
{
|
||||
af_destroy(ao_c->af);
|
||||
talloc_free(ao_c->input_frame);
|
||||
talloc_free(ao_c->ao_buffer);
|
||||
talloc_free(ao_c);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user