diff options
author | Michael Bradshaw <mjbshaw@google.com> | 2015-08-21 07:46:16 -0700 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2015-09-24 23:35:10 +0200 |
commit | 244184217c3e560ff1f30c072edd745fa42a604c (patch) | |
tree | 6259423a0f8cdf54079779d8c5478d3ccb5e8e8a | |
parent | 5ba40c3c712fdd44b6eecd5499799fe96225a01b (diff) | |
download | ffmpeg-244184217c3e560ff1f30c072edd745fa42a604c.tar.gz |
Return EOF for ICO when the end is reached
-rw-r--r-- | libavformat/icodec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/icodec.c b/libavformat/icodec.c index 847f0eea2f..22e209903b 100644 --- a/libavformat/icodec.c +++ b/libavformat/icodec.c @@ -124,7 +124,7 @@ static int read_packet(AVFormatContext *s, AVPacket *pkt) int ret; if (ico->current_image >= ico->nb_images) - return AVERROR(EIO); + return AVERROR_EOF; image = &ico->images[ico->current_image]; |