summaryrefslogtreecommitdiffstats
path: root/stream/stream_dvb.c
diff options
context:
space:
mode:
Diffstat (limited to 'stream/stream_dvb.c')
-rw-r--r--stream/stream_dvb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/stream_dvb.c b/stream/stream_dvb.c
index 154229b2fc..05236b2fce 100644
--- a/stream/stream_dvb.c
+++ b/stream/stream_dvb.c
@@ -444,8 +444,8 @@ static int dvb_streaming_read(stream_t *stream, char *buffer, int size)
rk = size - pos;
if(poll(pfds, 1, 500) <= 0)
{
- errno = 0;
mp_msg(MSGT_DEMUX, MSGL_ERR, "dvb_streaming_read, attempt N. %d failed with errno %d when reading %d bytes\n", tries, errno, size-pos);
+ errno = 0;
if(--tries > 0)
continue;
else