diff options
Diffstat (limited to 'plugins/mpgmad/mpgmad.c')
-rw-r--r-- | plugins/mpgmad/mpgmad.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/mpgmad/mpgmad.c b/plugins/mpgmad/mpgmad.c index 9bef2bc8..0dec44d0 100644 --- a/plugins/mpgmad/mpgmad.c +++ b/plugins/mpgmad/mpgmad.c @@ -516,7 +516,7 @@ cmp3_scan_stream (buffer_t *buffer, int sample) { static int cmp3_init (DB_playItem_t *it) { memset (&buffer, 0, sizeof (buffer)); - buffer.file = plugin.info.file = deadbeef->fopen (it->fname); + buffer.file = deadbeef->fopen (it->fname); if (!buffer.file) { return -1; } @@ -840,7 +840,6 @@ cmp3_decode_float32 (void) { static void cmp3_free (void) { - plugin.info.file = NULL; if (buffer.file) { deadbeef->fclose (buffer.file); buffer.file = NULL; |