mirror of
https://github.com/mpv-player/mpv
synced 2025-01-03 21:42:18 +00:00
audio: minor simplification
These fields are already deallocated by uninit_decoder(). Also remove the wrong/useless log message.
This commit is contained in:
parent
ffb1d7807e
commit
bb6ae0e50b
@ -155,10 +155,7 @@ void audio_uninit(struct dec_audio *d_audio)
|
||||
{
|
||||
if (!d_audio)
|
||||
return;
|
||||
MP_VERBOSE(d_audio, "Uninit audio filters...\n");
|
||||
uninit_decoder(d_audio);
|
||||
talloc_free(d_audio->current_frame);
|
||||
talloc_free(d_audio->packet);
|
||||
talloc_free(d_audio);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user