From 5a59ffc070744e94675201d6e8164befec6d9813 Mon Sep 17 00:00:00 2001 From: Alexey Yakovenko Date: Sun, 25 Apr 2010 13:02:53 +0200 Subject: removed old curl hacks/workarounds --- plugins/mpgmad/mpgmad.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'plugins/mpgmad') diff --git a/plugins/mpgmad/mpgmad.c b/plugins/mpgmad/mpgmad.c index b9ac42e2..1a7a8450 100644 --- a/plugins/mpgmad/mpgmad.c +++ b/plugins/mpgmad/mpgmad.c @@ -570,6 +570,7 @@ cmp3_init (DB_playItem_t *it) { if (!info->buffer.file) { return NULL; } + info->info.file = info->buffer.file; deadbeef->pl_item_ref (it); info->buffer.it = it; info->info.readpos = 0; @@ -909,6 +910,7 @@ cmp3_free (DB_fileinfo_t *_info) { } deadbeef->fclose (info->buffer.file); info->buffer.file = NULL; + info->info.file = NULL; mad_synth_finish (&info->synth); mad_frame_finish (&info->frame); mad_stream_finish (&info->stream); -- cgit v1.2.3