changeset 52:ac74515f80c1 trunk

[svn] Add +1 to the position so that the position isn't in two tracks anymore
author js
date Fri, 22 Sep 2006 14:25:52 -0700
parents 59e759d8c176
children f6887767487c
files ChangeLog src/cue/cuesheet.c
diffstat 2 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Fri Sep 22 14:18:37 2006 -0700
+++ b/ChangeLog	Fri Sep 22 14:25:52 2006 -0700
@@ -1,3 +1,10 @@
+2006-09-22 21:18:37 +0000  Jonathan Schleifer <js@h3c.de>
+  revision [102]
+  Fixed a crash in the cue plugin when no plugin is found / the file doesn't exist
+  trunk/src/cue/cuesheet.c |    8 +++++---
+  1 file changed, 5 insertions(+), 3 deletions(-)
+
+
 2006-09-21 21:14:05 +0000  William Pitcock <nenolod@nenolod.net>
   revision [100]
   - allow jack to be forcefully disabled
--- a/src/cue/cuesheet.c	Fri Sep 22 14:18:37 2006 -0700
+++ b/src/cue/cuesheet.c	Fri Sep 22 14:25:52 2006 -0700
@@ -2,6 +2,7 @@
  * cuesheet.c: Support cuesheets as a media container.
  *
  * Copyright (C) 2006 William Pitcock <nenolod -at- nenolod.net>.
+ *                    Jonathan Schleifer <js@h3c.de> (only small fixes)
  *
  * This file was hacked out of of xmms-cueinfo,
  * Copyright (C) 2003  Oskar Liljeblad
@@ -256,7 +257,7 @@
 		real_ip->set_info = set_info_override;
 		real_ip->output = cue_ip.output;
 		real_ip->play_file(cue_file);
-		real_ip->seek(finetune_seek ? finetune_seek / 1000 : cue_tracks[track].index / 1000);
+		real_ip->seek(finetune_seek ? finetune_seek / 1000 : cue_tracks[track].index / 1000 + 1);
 	}
 
 	finetune_seek = 0;