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

Make av_read_frame with rtsp client return EINTR on interrupt

patch from elupusateccedotse (missing hunk from r11072)

Originally committed as revision 11076 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 594ff7cc
No related branches found
No related tags found
No related merge requests found
......@@ -1196,7 +1196,7 @@ static int rtsp_read_packet(AVFormatContext *s,
break;
}
if (len < 0)
return AVERROR(EIO);
return len;
ret = rtp_parse_packet(rtsp_st->rtp_ctx, pkt, buf, len);
if (ret < 0)
goto redo;
......
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