You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avformat/mpc8: do not return error on stream end
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
@@ -297,7 +297,7 @@ static int mpc8_read_packet(AVFormatContext *s, AVPacket *pkt)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
if(tag == TAG_STREAMEND)
|
if(tag == TAG_STREAMEND)
|
||||||
return AVERROR(EIO);
|
return AVERROR_EOF;
|
||||||
mpc8_handle_chunk(s, tag, pos, size);
|
mpc8_handle_chunk(s, tag, pos, size);
|
||||||
}
|
}
|
||||||
return AVERROR_EOF;
|
return AVERROR_EOF;
|
||||||
|
Reference in New Issue
Block a user