Commit 6d1461c2 authored by lu_zero's avatar lu_zero

Make av_read_frame with rtsp client return EINTR on interrupt

patch from elupusateccedotse (missing hunk from r11072)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@11076 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 9751659d
...@@ -1196,7 +1196,7 @@ static int rtsp_read_packet(AVFormatContext *s, ...@@ -1196,7 +1196,7 @@ static int rtsp_read_packet(AVFormatContext *s,
break; break;
} }
if (len < 0) if (len < 0)
return AVERROR(EIO); return len;
ret = rtp_parse_packet(rtsp_st->rtp_ctx, pkt, buf, len); ret = rtp_parse_packet(rtsp_st->rtp_ctx, pkt, buf, len);
if (ret < 0) if (ret < 0)
goto redo; goto redo;
......
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