Skip to content
Snippets Groups Projects
Commit 099d3540 authored by Hein-Pieter van Braam's avatar Hein-Pieter van Braam Committed by James Almer
Browse files

Cleanly exit at the end of an Interplay MVE


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