Commit 099d3540 authored by Hein-Pieter van Braam's avatar Hein-Pieter van Braam Committed by James Almer

Cleanly exit at the end of an Interplay MVE

Reviewed-by: 's avatarPaul B Mahol <onemda@gmail.com>
Signed-off-by: 's avatarHein-Pieter van Braam <hp@tmm.cx>
Signed-off-by: 's avatarJames Almer <jamrial@gmail.com>
parent 14b834c4
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment