Browse Source

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
tags/v0.5
Luca Barbato 17 years ago
parent
commit
a960a1e041
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/rtsp.c

+ 1
- 1
libavformat/rtsp.c View File

@@ -1130,7 +1130,7 @@ static int udp_read_packet(AVFormatContext *s, RTSPStream **prtsp_st,

for(;;) {
if (url_interrupt_cb())
return -1;
return AVERROR(EINTR);
FD_ZERO(&rfds);
fd_max = -1;
for(i = 0; i < rt->nb_rtsp_streams; i++) {


Loading…
Cancel
Save