Commit 081bf60e authored by Piotr Bandurski's avatar Piotr Bandurski Committed by Paul B Mahol

c93: signal EOF

parent 05b02e9c
...@@ -133,7 +133,7 @@ static int read_packet(AVFormatContext *s, AVPacket *pkt) ...@@ -133,7 +133,7 @@ static int read_packet(AVFormatContext *s, AVPacket *pkt)
} }
if (c93->current_frame >= br->frames) { if (c93->current_frame >= br->frames) {
if (c93->current_block >= 511 || !br[1].length) if (c93->current_block >= 511 || !br[1].length)
return AVERROR(EIO); return AVERROR_EOF;
br++; br++;
c93->current_block++; c93->current_block++;
c93->current_frame = 0; c93->current_frame = 0;
......
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