Commit 228a0a4d authored by mstorsjo's avatar mstorsjo

Return from rtp_read when select returns an error


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@22219 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 129c587d
......@@ -248,6 +248,8 @@ static int rtp_read(URLContext *h, uint8_t *buf, int size)
}
break;
}
} else if (n < 0) {
return AVERROR(EIO);
}
}
#endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment