summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
Diffstat (limited to 'src/input')
-rw-r--r--src/input/net_buf_ctrl.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/input/net_buf_ctrl.c b/src/input/net_buf_ctrl.c
index 896fa5d6b..a3e7a9b78 100644
--- a/src/input/net_buf_ctrl.c
+++ b/src/input/net_buf_ctrl.c
@@ -81,13 +81,15 @@ void nbc_check_buffers (nbc_t *this) {
this->xine->metronom->set_speed (this->xine->metronom, SPEED_PAUSE);
this->xine->metronom->set_option (this->xine->metronom, METRONOM_SCR_ADJUSTABLE, 0);
- this->xine->audio_out->audio_paused = 2;
+ if (this->xine->audio_out)
+ this->xine->audio_out->audio_paused = 2;
this->buffering = 1;
} else if ( (fifo_fill>this->high_water_mark) && (this->buffering)) {
this->xine->metronom->set_speed (this->xine->metronom, SPEED_NORMAL);
this->xine->metronom->set_option (this->xine->metronom, METRONOM_SCR_ADJUSTABLE, 1);
- this->xine->audio_out->audio_paused = 0;
+ if (this->xine->audio_out)
+ this->xine->audio_out->audio_paused = 0;
this->buffering = 0;
this->xine->osd_renderer->hide (this->xine->osd, 0);