# HG changeset patch # User nenolod # Date 1131835099 28800 # Node ID 6dc4483b4c4c7e92e5e79a2db8c1a4e853503416 # Parent 37882ab04091f1dd9f3af92579c9483316443a23 [svn] Don't crash if there's no handler for pausing. diff -r 37882ab04091 -r 6dc4483b4c4c audacious/playback.c --- a/audacious/playback.c Sat Nov 12 14:34:04 2005 -0800 +++ b/audacious/playback.c Sat Nov 12 14:38:19 2005 -0800 @@ -132,7 +132,8 @@ else playstatus_set_status(mainwin_playstatus, STATUS_PLAY); - get_current_input_plugin()->pause(ip_data.paused); + if (get_current_input_plugin()->pause) + get_current_input_plugin()->pause(ip_data.paused); } void