Mercurial > libavformat.hg
comparison tcp.c @ 482:0fdc96c2f2fe libavformat
sweeping change from -EIO -> AVERROR_IO
author | melanson |
---|---|
date | Sat, 19 Jun 2004 03:59:34 +0000 |
parents | 9af30d452a0a |
children | 056991ab9f10 |
comparison
equal
deleted
inserted
replaced
481:f1430abbbd8b | 482:0fdc96c2f2fe |
---|---|
128 } | 128 } |
129 s->fd = fd; | 129 s->fd = fd; |
130 return 0; | 130 return 0; |
131 | 131 |
132 fail: | 132 fail: |
133 ret = -EIO; | 133 ret = AVERROR_IO; |
134 fail1: | 134 fail1: |
135 if (fd >= 0) | 135 if (fd >= 0) |
136 close(fd); | 136 close(fd); |
137 av_free(s); | 137 av_free(s); |
138 return ret; | 138 return ret; |