mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-06-19 19:03:00 +02:00
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
This commit is contained in:
+1
-1
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user