summaryrefslogtreecommitdiff
path: root/cvorbis.c
diff options
context:
space:
mode:
Diffstat (limited to 'cvorbis.c')
-rw-r--r--cvorbis.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cvorbis.c b/cvorbis.c
index 7428934a..8506c41b 100644
--- a/cvorbis.c
+++ b/cvorbis.c
@@ -33,12 +33,12 @@ void
cvorbis_free (void);
int
-cvorbis_init (const char *fname, int track, float start, float end) {
+cvorbis_init (struct playItem_s *it) {
file = NULL;
vi = NULL;
cur_bit_stream = -1;
- file = fopen (fname, "rb");
+ file = fopen (it->fname, "rb");
if (!file) {
return -1;
}