diff options
author | wm4 <wm4@nowhere> | 2016-02-05 23:43:25 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-02-05 23:43:25 +0100 |
commit | bb6ae0e50bc2e39f1735794372365bebf44901df (patch) | |
tree | 88f0739ffebe2d2def0bfb4cbdbc62bf0134c672 /audio | |
parent | ffb1d7807ee0c92b18e5a1c7e6ff408c0da60a5c (diff) | |
download | mpv-bb6ae0e50bc2e39f1735794372365bebf44901df.tar.bz2 mpv-bb6ae0e50bc2e39f1735794372365bebf44901df.tar.xz |
audio: minor simplification
These fields are already deallocated by uninit_decoder(). Also remove
the wrong/useless log message.
Diffstat (limited to 'audio')
-rw-r--r-- | audio/decode/dec_audio.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/audio/decode/dec_audio.c b/audio/decode/dec_audio.c index fede4ae2d7..5cb69dc6d1 100644 --- a/audio/decode/dec_audio.c +++ b/audio/decode/dec_audio.c @@ -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); } |