You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avformat/aea: make the AEA demuxer return EOF at the end of file instead of EIO
Signed-off-by: asivery <asivery@protonmail.com> Signed-off-by: Marton Balint <cus@passwd.hu>
This commit is contained in:
@@ -90,13 +90,7 @@ static int aea_read_header(AVFormatContext *s)
|
|||||||
|
|
||||||
static int aea_read_packet(AVFormatContext *s, AVPacket *pkt)
|
static int aea_read_packet(AVFormatContext *s, AVPacket *pkt)
|
||||||
{
|
{
|
||||||
int ret = av_get_packet(s->pb, pkt, s->streams[0]->codecpar->block_align);
|
return av_get_packet(s->pb, pkt, s->streams[0]->codecpar->block_align);
|
||||||
|
|
||||||
pkt->stream_index = 0;
|
|
||||||
if (ret <= 0)
|
|
||||||
return AVERROR(EIO);
|
|
||||||
|
|
||||||
return ret;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const AVInputFormat ff_aea_demuxer = {
|
const AVInputFormat ff_aea_demuxer = {
|
||||||
|
Reference in New Issue
Block a user