Commit 79b1c1a5 authored by lu_zero's avatar lu_zero

Make av_read_frame with rtsp client return EINTR on interrupt

patch from elupusateccedotse


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@11072 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 9ce92bc3
......@@ -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++) {
......
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