Skip to content
Snippets Groups Projects
Commit a960a1e0 authored by Luca Barbato's avatar Luca Barbato
Browse files

Make av_read_frame with rtsp client return EINTR on interrupt

patch from elupusateccedotse

Originally committed as revision 11072 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 899681cd
No related branches found
No related tags found
No related merge requests found
......@@ -1130,7 +1130,7 @@ static int udp_read_packet(AVFormatContext *s, RTSPStream **prtsp_st,
for(;;) {
if (url_interrupt_cb())
return -1;
return AVERROR(EINTR);
FD_ZERO(&rfds);
fd_max = -1;
for(i = 0; i < rt->nb_rtsp_streams; i++) {
......
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