提交 886f3f2f 编写于 作者: M Martin Storsjö

Return from rtp_read when select returns an error

Originally committed as revision 22219 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 3966a574
......@@ -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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册