summaryrefslogtreecommitdiff
path: root/cvorbis.c
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2009-08-09 14:47:47 +0200
committerGravatar waker <wakeroid@gmail.com>2009-08-09 14:47:47 +0200
commit2d520c4c86d0cc67450a7a24a3f2ffba7447cf7e (patch)
tree3f13976c608324942930d3ad918ae6e9a146b75c /cvorbis.c
parent62f994737141113a0ee5ccaa1c8e0ef39768d714 (diff)
mp3 duration now beeing calculated on play
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;
}