On 13 December 2013 13:05, Luca Barbato <lu_z...@gentoo.org> wrote: > --- > libavformat/jvdec.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/libavformat/jvdec.c b/libavformat/jvdec.c > index fd86ad4..8235d49 100644 > --- a/libavformat/jvdec.c > +++ b/libavformat/jvdec.c > @@ -200,6 +200,9 @@ static int read_packet(AVFormatContext *s, AVPacket *pkt) > } > } > > + if (s->pb->eof_reached) > + return AVERROR_EOF; > + > return AVERROR(EIO); > } > > --
LGTM _______________________________________________ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel