mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-06-16 04:32:47 +02: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