mirror of https://git.ffmpeg.org/ffmpeg.git
10l, > vs. >= typo, caused crashes on last mpc frame
Originally committed as revision 7476 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
1fe68f0e7c
commit
d188691205
|
@ -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){
|
||||
|
|
Loading…
Reference in New Issue