mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-11 09:59:50 +00:00
c93: signal EOF
This commit is contained in:
parent
05b02e9c0f
commit
081bf60ec6
@ -133,7 +133,7 @@ static int read_packet(AVFormatContext *s, AVPacket *pkt)
|
||||
}
|
||||
if (c93->current_frame >= br->frames) {
|
||||
if (c93->current_block >= 511 || !br[1].length)
|
||||
return AVERROR(EIO);
|
||||
return AVERROR_EOF;
|
||||
br++;
|
||||
c93->current_block++;
|
||||
c93->current_frame = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user