Mercurial > audlegacy-plugins
comparison src/cue/cuesheet.c @ 805:1ba5f86aeac9 trunk
[svn] - should check data != NULL before clear data->playing.
author | yaz |
---|---|
date | Mon, 12 Mar 2007 09:12:26 -0700 |
parents | 1cc14b1239a1 |
children | 29ae10725c4c |
comparison
equal
deleted
inserted
replaced
804:1cc14b1239a1 | 805:1ba5f86aeac9 |
---|---|
252 static void stop(InputPlayback * data) | 252 static void stop(InputPlayback * data) |
253 { | 253 { |
254 if (real_ip != NULL) | 254 if (real_ip != NULL) |
255 real_ip->plugin->stop(real_ip); | 255 real_ip->plugin->stop(real_ip); |
256 | 256 |
257 data->playing = 0; | 257 if (data != NULL) |
258 data->playing = 0; | |
258 | 259 |
259 gtk_timeout_remove(timeout_tag); | 260 gtk_timeout_remove(timeout_tag); |
260 free_cue_info(); | 261 free_cue_info(); |
261 | 262 |
262 if (real_ip != NULL) { | 263 if (real_ip != NULL) { |