Browse Source

Return from rtp_read when select returns an error

Originally committed as revision 22219 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.6
Martin Storsjö 16 years ago
parent
commit
886f3f2f36
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      libavformat/rtpproto.c

+ 2
- 0
libavformat/rtpproto.c View File

@@ -248,6 +248,8 @@ static int rtp_read(URLContext *h, uint8_t *buf, int size)
}
break;
}
} else if (n < 0) {
return AVERROR(EIO);
}
}
#endif


Loading…
Cancel
Save