diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2002-02-18 00:31:16 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2002-02-18 00:31:16 +0000 |
commit | 3696d2bb83ea19436eb3165c66482e61470c3ee0 (patch) | |
tree | 52d387754a3890a3e1368ac6f8e374e1fb4f6e9d | |
parent | b4dbd87c0411ddfafd645d65e1214bcb2c376ddd (diff) | |
download | ffmpeg-3696d2bb83ea19436eb3165c66482e61470c3ee0.tar.gz |
block_last_index was too large (in mpeg1 decoding)
Originally committed as revision 301 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/mpeg12.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpeg12.c b/libavcodec/mpeg12.c index 906643de16..b7af9262d7 100644 --- a/libavcodec/mpeg12.c +++ b/libavcodec/mpeg12.c @@ -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; } |