Merge commit '027712e851da4d124a842c9e2802f95d50582553'

* commit '027712e851da4d124a842c9e2802f95d50582553':
  jvdec: Return EOF on end of file

Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2013-12-20 23:49:56 +01:00
commit d2344afb90
1 changed files with 3 additions and 0 deletions

View File

@ -184,6 +184,9 @@ static int read_packet(AVFormatContext *s, AVPacket *pkt)
}
}
if (s->pb->eof_reached)
return AVERROR_EOF;
return AVERROR(EIO);
}