Commit d1886912 authored by Reimar Döffinger's avatar Reimar Döffinger
Browse files

10l, > vs. >= typo, caused crashes on last mpc frame

Originally committed as revision 7476 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 1fe68f0e
......@@ -118,7 +118,7 @@ static int mpc_read_packet(AVFormatContext *s, AVPacket *pkt)
int ret, size, size2, curbits, cur = c->curframe;
int64_t tmp, pos;
if (c->curframe > c->fcount)
if (c->curframe >= c->fcount)
return -1;
if(c->curframe != c->lastframe + 1){
......
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