diff options
author | Panagiotis Issaris <takis.issaris@uhasselt.be> | 2007-07-19 19:23:32 +0400 |
---|---|---|
committer | Panagiotis Issaris <takis.issaris@uhasselt.be> | 2007-07-19 19:23:32 +0400 |
commit | 6f3e0b21748b53fd7b0471196bbda1d7e561f4fe (patch) | |
tree | 5130d5b49907a72bf1f16c7861ec3b891a3708e4 /libavformat/rtpproto.c | |
parent | 769e10f0684c63aefb6fe36788f3e543312e185d (diff) |
Replace all occurrences of AVERROR_IO with AVERROR(EIO).
Originally committed as revision 9760 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rtpproto.c')
-rw-r--r-- | libavformat/rtpproto.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavformat/rtpproto.c b/libavformat/rtpproto.c index f56b63f534..870273f8cc 100644 --- a/libavformat/rtpproto.c +++ b/libavformat/rtpproto.c @@ -163,7 +163,7 @@ static int rtp_open(URLContext *h, const char *uri, int flags) if (s->rtcp_hd) url_close(s->rtcp_hd); av_free(s); - return AVERROR_IO; + return AVERROR(EIO); } static int rtp_read(URLContext *h, uint8_t *buf, int size) @@ -182,7 +182,7 @@ static int rtp_read(URLContext *h, uint8_t *buf, int size) if (ff_neterrno() == FF_NETERROR(EAGAIN) || ff_neterrno() == FF_NETERROR(EINTR)) continue; - return AVERROR_IO; + return AVERROR(EIO); } break; } @@ -206,7 +206,7 @@ static int rtp_read(URLContext *h, uint8_t *buf, int size) if (ff_neterrno() == FF_NETERROR(EAGAIN) || ff_neterrno() == FF_NETERROR(EINTR)) continue; - return AVERROR_IO; + return AVERROR(EIO); } break; } @@ -219,7 +219,7 @@ static int rtp_read(URLContext *h, uint8_t *buf, int size) if (ff_neterrno() == FF_NETERROR(EAGAIN) || ff_neterrno() == FF_NETERROR(EINTR)) continue; - return AVERROR_IO; + return AVERROR(EIO); } break; } |