summaryrefslogtreecommitdiff
path: root/libavformat/au.c
diff options
context:
space:
mode:
authorPanagiotis Issaris <takis.issaris@uhasselt.be>2007-07-19 15:23:32 +0000
committerPanagiotis Issaris <takis.issaris@uhasselt.be>2007-07-19 15:23:32 +0000
commit6f3e0b21748b53fd7b0471196bbda1d7e561f4fe (patch)
tree5130d5b49907a72bf1f16c7861ec3b891a3708e4 /libavformat/au.c
parent769e10f0684c63aefb6fe36788f3e543312e185d (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/au.c')
-rw-r--r--libavformat/au.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/au.c b/libavformat/au.c
index aaa97c76fa..bd26e54d6f 100644
--- a/libavformat/au.c
+++ b/libavformat/au.c
@@ -159,10 +159,10 @@ static int au_read_packet(AVFormatContext *s,
int ret;
if (url_feof(&s->pb))
- return AVERROR_IO;
+ return AVERROR(EIO);
ret= av_get_packet(&s->pb, pkt, MAX_SIZE);
if (ret < 0)
- return AVERROR_IO;
+ return AVERROR(EIO);
pkt->stream_index = 0;
/* note: we need to modify the packet size here to handle the last