summaryrefslogtreecommitdiff
path: root/libavformat/au.c
diff options
context:
space:
mode:
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 5515c3257b..c0780c73e2 100644
--- a/libavformat/au.c
+++ b/libavformat/au.c
@@ -159,9 +159,9 @@ static int au_read_packet(AVFormatContext *s,
int ret;
if (url_feof(&s->pb))
- return -EIO;
+ return AVERROR_IO;
if (av_new_packet(pkt, MAX_SIZE))
- return -EIO;
+ return AVERROR_IO;
pkt->stream_index = 0;
ret = get_buffer(&s->pb, pkt->data, pkt->size);