summaryrefslogtreecommitdiff
path: root/libavformat/daud.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/daud.c')
-rw-r--r--libavformat/daud.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/daud.c b/libavformat/daud.c
index 703589726f..e1d901aa16 100644
--- a/libavformat/daud.c
+++ b/libavformat/daud.c
@@ -37,7 +37,7 @@ static int daud_packet(AVFormatContext *s, AVPacket *pkt) {
ByteIOContext *pb = &s->pb;
int ret, size;
if (url_feof(pb))
- return AVERROR_IO;
+ return AVERROR(EIO);
size = get_be16(pb);
get_be16(pb); // unknown
ret = av_get_packet(pb, pkt, size);