mirror of
https://mirror.skon.top/https://github.com/FFmpeg/FFmpeg
synced 2026-05-01 06:13:08 +08:00
Return from rtp_read when select returns an error
Originally committed as revision 22219 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -248,6 +248,8 @@ static int rtp_read(URLContext *h, uint8_t *buf, int size)
|
||||
}
|
||||
break;
|
||||
}
|
||||
} else if (n < 0) {
|
||||
return AVERROR(EIO);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user