diff options
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/ipmovie.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/ipmovie.c b/libavformat/ipmovie.c index a83909f148..29eeaf6b8b 100644 --- a/libavformat/ipmovie.c +++ b/libavformat/ipmovie.c @@ -650,6 +650,8 @@ static int ipmovie_read_packet(AVFormatContext *s, ret = AVERROR(EIO); else if (ret == CHUNK_NOMEM) ret = AVERROR(ENOMEM); + else if (ret == CHUNK_END || ret == CHUNK_SHUTDOWN) + ret = AVERROR_EOF; else if (ret == CHUNK_VIDEO) ret = 0; else if (ret == CHUNK_INIT_VIDEO || ret == CHUNK_INIT_AUDIO) |