summaryrefslogtreecommitdiff
path: root/libavformat/assdec.c
diff options
context:
space:
mode:
authorNicolas George <nicolas.george@normalesup.org>2012-08-02 11:21:20 +0200
committerNicolas George <nicolas.george@normalesup.org>2012-08-02 14:39:45 +0200
commit93d428953c91d68e8e6e98f8fda379d204507bb6 (patch)
treeb7b1c5ebeac1b44bedacea720373d7d0c9265538 /libavformat/assdec.c
parentaa5b93fbd87848bff451d8f8fe587d6ae4a2b438 (diff)
assdec: return EOF instead of EIO.
Diffstat (limited to 'libavformat/assdec.c')
-rw-r--r--libavformat/assdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/assdec.c b/libavformat/assdec.c
index 629588808d..6229857395 100644
--- a/libavformat/assdec.c
+++ b/libavformat/assdec.c
@@ -147,7 +147,7 @@ static int read_packet(AVFormatContext *s, AVPacket *pkt)
uint8_t *p, *end;
if(ass->event_index >= ass->event_count)
- return AVERROR(EIO);
+ return AVERROR_EOF;
p= ass->event[ ass->event_index ];