avformat/mpc8: do not return error on stream end

Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
Paul B Mahol 2018-03-29 20:46:36 +02:00
parent 759381d96b
commit a8a751ce9a
1 changed files with 1 additions and 1 deletions

View File

@ -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;