You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
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
This commit is contained in:
@@ -1130,7 +1130,7 @@ static int udp_read_packet(AVFormatContext *s, RTSPStream **prtsp_st,
|
|||||||
|
|
||||||
for(;;) {
|
for(;;) {
|
||||||
if (url_interrupt_cb())
|
if (url_interrupt_cb())
|
||||||
return -1;
|
return AVERROR(EINTR);
|
||||||
FD_ZERO(&rfds);
|
FD_ZERO(&rfds);
|
||||||
fd_max = -1;
|
fd_max = -1;
|
||||||
for(i = 0; i < rt->nb_rtsp_streams; i++) {
|
for(i = 0; i < rt->nb_rtsp_streams; i++) {
|
||||||
|
Reference in New Issue
Block a user