mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-08-03 22:50:36 +00:00
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:
@@ -948,7 +948,7 @@ static int mpeg1_decode_block(MpegEncContext *s,
|
||||
block[j] = level;
|
||||
i++;
|
||||
}
|
||||
s->block_last_index[n] = i;
|
||||
s->block_last_index[n] = i-1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user