summaryrefslogtreecommitdiff
path: root/libavformat/cafdec.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/cafdec.c')
-rw-r--r--libavformat/cafdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/cafdec.c b/libavformat/cafdec.c
index 8d39bfb831..dbc351a588 100644
--- a/libavformat/cafdec.c
+++ b/libavformat/cafdec.c
@@ -343,7 +343,7 @@ static int read_packet(AVFormatContext *s, AVPacket *pkt)
int64_t left = CAF_MAX_PKT_SIZE;
if (url_feof(pb))
- return AVERROR(EIO);
+ return AVERROR_EOF;
/* don't read past end of data chunk */
if (caf->data_size > 0) {