diff options
author | 2009-08-09 14:47:47 +0200 | |
---|---|---|
committer | 2009-08-09 14:47:47 +0200 | |
commit | 2d520c4c86d0cc67450a7a24a3f2ffba7447cf7e (patch) | |
tree | 3f13976c608324942930d3ad918ae6e9a146b75c /cvorbis.c | |
parent | 62f994737141113a0ee5ccaa1c8e0ef39768d714 (diff) |
mp3 duration now beeing calculated on play
Diffstat (limited to 'cvorbis.c')
-rw-r--r-- | cvorbis.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; } |