diff options
author | Alexey Yakovenko <wakeroid@gmail.com> | 2010-01-09 20:49:12 +0100 |
---|---|---|
committer | Alexey Yakovenko <wakeroid@gmail.com> | 2010-01-09 20:54:03 +0100 |
commit | f26c90bb66c1aa0d8ec7ddcffada1edf1a12bf92 (patch) | |
tree | bc16badfa4d86e1ff4a6fbdf8125017a5498b163 /plugins/vorbis | |
parent | 418960f37fe1d615b420f0b9ba9afcd7ba5434c1 (diff) |
support for interruption of http streaming at any time
Diffstat (limited to 'plugins/vorbis')
-rw-r--r-- | plugins/vorbis/vorbis.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/vorbis/vorbis.c b/plugins/vorbis/vorbis.c index 1eb3f002..9a631a73 100644 --- a/plugins/vorbis/vorbis.c +++ b/plugins/vorbis/vorbis.c @@ -128,7 +128,7 @@ cvorbis_init (DB_playItem_t *it) { cur_bit_stream = -1; ptrack = it; - file = plugin.info.file = deadbeef->fopen (it->fname); + file = deadbeef->fopen (it->fname); if (!file) { return -1; } @@ -209,7 +209,6 @@ cvorbis_init (DB_playItem_t *it) { static void cvorbis_free (void) { - plugin.info.file = NULL; if (file) { ptrack = NULL; ov_clear (&vorbis_file); |