Commit a8a751ce authored by Paul B Mahol's avatar Paul B Mahol

avformat/mpc8: do not return error on stream end

Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent 759381d9
......@@ -297,7 +297,7 @@ static int mpc8_read_packet(AVFormatContext *s, AVPacket *pkt)
return 0;
}
if(tag == TAG_STREAMEND)
return AVERROR(EIO);
return AVERROR_EOF;
mpc8_handle_chunk(s, tag, pos, size);
}
return AVERROR_EOF;
......
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