Mercurial > audlegacy-plugins
comparison src/cue/cuesheet.c @ 357:c4b4c6011c66 trunk
[svn] - fix for potential bug.
author | yaz |
---|---|
date | Sun, 10 Dec 2006 22:10:32 -0800 |
parents | 35b5161ba78d |
children | 958855dae693 |
comparison
equal
deleted
inserted
replaced
356:35b5161ba78d | 357:c4b4c6011c66 |
---|---|
213 | 213 |
214 out->track_name = g_strdup(cue_tracks[track].title); | 214 out->track_name = g_strdup(cue_tracks[track].title); |
215 out->performer = g_strdup(cue_tracks[track].performer); | 215 out->performer = g_strdup(cue_tracks[track].performer); |
216 out->album_name = g_strdup(cue_title); | 216 out->album_name = g_strdup(cue_title); |
217 out->genre = g_strdup(cue_genre); | 217 out->genre = g_strdup(cue_genre); |
218 out->year = atoi(cue_year); | 218 out->year = cue_year ? atoi(cue_year) : 0; |
219 out->track_number = track + 1; | 219 out->track_number = track + 1; |
220 return out; | 220 return out; |
221 } | 221 } |
222 | 222 |
223 static void get_song_info(gchar *uri, gchar **title, gint *length) | 223 static void get_song_info(gchar *uri, gchar **title, gint *length) |