Skip to content
Snippets Groups Projects
Commit 081bf60e authored by Piotr Bandurski's avatar Piotr Bandurski Committed by Paul B Mahol
Browse files

c93: signal EOF

parent 05b02e9c
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment