mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-28 18:32:22 +00:00
Return from rtp_read when select returns an error
Originally committed as revision 22219 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
3966a57464
commit
886f3f2f36
@ -248,6 +248,8 @@ static int rtp_read(URLContext *h, uint8_t *buf, int size)
|
||||
}
|
||||
break;
|
||||
}
|
||||
} else if (n < 0) {
|
||||
return AVERROR(EIO);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user