Skip to content
Snippets Groups Projects
Commit 886f3f2f authored by Martin Storsjö's avatar Martin Storsjö
Browse files

Return from rtp_read when select returns an error

Originally committed as revision 22219 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 3966a574
No related branches found
No related tags found
No related merge requests found
...@@ -248,6 +248,8 @@ static int rtp_read(URLContext *h, uint8_t *buf, int size) ...@@ -248,6 +248,8 @@ static int rtp_read(URLContext *h, uint8_t *buf, int size)
} }
break; break;
} }
} else if (n < 0) {
return AVERROR(EIO);
} }
} }
#endif #endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment