summaryrefslogtreecommitdiff
path: root/src/xine-engine/io_helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xine-engine/io_helper.c')
-rw-r--r--src/xine-engine/io_helper.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xine-engine/io_helper.c b/src/xine-engine/io_helper.c
index 34540a208..d331b675a 100644
--- a/src/xine-engine/io_helper.c
+++ b/src/xine-engine/io_helper.c
@@ -244,7 +244,7 @@ int _x_io_select (xine_stream_t *stream, int fd, int state, int timeout_msec) {
* aborts current read if action pending. otherwise xine
* cannot be stopped when no more data is available.
*/
- if (stream && stream->demux_action_pending)
+ if (stream && _x_action_pending(stream))
return XIO_ABORTED;
break;
case WAIT_ABANDONED:
@@ -288,7 +288,7 @@ int _x_io_select (xine_stream_t *stream, int fd, int state, int timeout_msec) {
* aborts current read if action pending. otherwise xine
* cannot be stopped when no more data is available.
*/
- if (stream && stream->demux_action_pending)
+ if (stream && _x_action_pending(stream))
return XIO_ABORTED;
total_time_usec += XIO_POLLING_INTERVAL;