diff options
author | Mike Melanson <mike@multimedia.cx> | 2004-06-19 03:59:34 +0000 |
---|---|---|
committer | Mike Melanson <mike@multimedia.cx> | 2004-06-19 03:59:34 +0000 |
commit | 0bd586c50dc27ec38ca94e58f50030544d729463 (patch) | |
tree | daa391f5efede8e58b88431b9b453dcbd1e6c2e0 /libavformat/rtpproto.c | |
parent | cbf5374fc0f733cefe304fd4d11c7b0fa21fba61 (diff) | |
download | ffmpeg-0bd586c50dc27ec38ca94e58f50030544d729463.tar.gz |
sweeping change from -EIO -> AVERROR_IO
Originally committed as revision 3239 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 40c7f6a375..71a4a05ded 100644 --- a/libavformat/rtpproto.c +++ b/libavformat/rtpproto.c @@ -168,7 +168,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 -EIO; + return AVERROR_IO; } static int rtp_read(URLContext *h, uint8_t *buf, int size) @@ -185,7 +185,7 @@ static int rtp_read(URLContext *h, uint8_t *buf, int size) if (len < 0) { if (errno == EAGAIN || errno == EINTR) continue; - return -EIO; + return AVERROR_IO; } break; } @@ -208,7 +208,7 @@ static int rtp_read(URLContext *h, uint8_t *buf, int size) if (len < 0) { if (errno == EAGAIN || errno == EINTR) continue; - return -EIO; + return AVERROR_IO; } break; } @@ -220,7 +220,7 @@ static int rtp_read(URLContext *h, uint8_t *buf, int size) if (len < 0) { if (errno == EAGAIN || errno == EINTR) continue; - return -EIO; + return AVERROR_IO; } break; } |