block_last_index was too large (in mpeg1 decoding)

Originally committed as revision 301 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2002-02-18 00:31:16 +00:00
parent b4dbd87c04
commit 3696d2bb83

View File

@ -948,7 +948,7 @@ static int mpeg1_decode_block(MpegEncContext *s,
block[j] = level; block[j] = level;
i++; i++;
} }
s->block_last_index[n] = i; s->block_last_index[n] = i-1;
return 0; return 0;
} }