diff --git a/libavformat/c93.c b/libavformat/c93.c index 66516e9c39f8f86755e10e812d5f901f695008a1..93a61be838d06e1a97d4360a34c0f7b135133a25 100644 --- a/libavformat/c93.c +++ b/libavformat/c93.c @@ -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;