summaryrefslogtreecommitdiffstats
path: root/audio/decode
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-02-05 23:43:25 +0100
committerwm4 <wm4@nowhere>2016-02-05 23:43:25 +0100
commitbb6ae0e50bc2e39f1735794372365bebf44901df (patch)
tree88f0739ffebe2d2def0bfb4cbdbc62bf0134c672 /audio/decode
parentffb1d7807ee0c92b18e5a1c7e6ff408c0da60a5c (diff)
downloadmpv-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/decode')
-rw-r--r--audio/decode/dec_audio.c3
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);
}