diff options
author | Nicolas George <nicolas.george@normalesup.org> | 2012-08-02 11:21:20 +0200 |
---|---|---|
committer | Nicolas George <nicolas.george@normalesup.org> | 2012-08-02 14:39:45 +0200 |
commit | 93d428953c91d68e8e6e98f8fda379d204507bb6 (patch) | |
tree | b7b1c5ebeac1b44bedacea720373d7d0c9265538 | |
parent | aa5b93fbd87848bff451d8f8fe587d6ae4a2b438 (diff) | |
download | ffmpeg-93d428953c91d68e8e6e98f8fda379d204507bb6.tar.gz |
assdec: return EOF instead of EIO.
-rw-r--r-- | libavformat/assdec.c | 2 |
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 ]; |