Commit 1a4560ce authored by asivery's avatar asivery Committed by Marton Balint

avformat/aea: make the AEA demuxer return EOF at the end of file instead of EIO

Signed-off-by: 's avatarasivery <asivery@protonmail.com>
Signed-off-by: 's avatarMarton Balint <cus@passwd.hu>
parent aca7ef78
......@@ -90,13 +90,7 @@ static int aea_read_header(AVFormatContext *s)
static int aea_read_packet(AVFormatContext *s, AVPacket *pkt)
{
int ret = av_get_packet(s->pb, pkt, s->streams[0]->codecpar->block_align);
pkt->stream_index = 0;
if (ret <= 0)
return AVERROR(EIO);
return ret;
return av_get_packet(s->pb, pkt, s->streams[0]->codecpar->block_align);
}
const AVInputFormat ff_aea_demuxer = {
......
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