Commit d2344afb authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit '027712e8'

* commit '027712e8':
  jvdec: Return EOF on end of file
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents ce612fc1 027712e8
......@@ -184,6 +184,9 @@ static int read_packet(AVFormatContext *s, AVPacket *pkt)
}
}
if (s->pb->eof_reached)
return AVERROR_EOF;
return AVERROR(EIO);
}
......
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