summaryrefslogtreecommitdiff
path: root/plugins/vorbis
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-01-09 20:49:12 +0100
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-01-09 20:54:03 +0100
commitf26c90bb66c1aa0d8ec7ddcffada1edf1a12bf92 (patch)
treebc16badfa4d86e1ff4a6fbdf8125017a5498b163 /plugins/vorbis
parent418960f37fe1d615b420f0b9ba9afcd7ba5434c1 (diff)
support for interruption of http streaming at any time
Diffstat (limited to 'plugins/vorbis')
-rw-r--r--plugins/vorbis/vorbis.c3
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);