Commit 3eafd8ae authored by michaelni's avatar michaelni

block_last_index was too large (in mpeg1 decoding)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@301 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent a756c569
...@@ -948,7 +948,7 @@ static int mpeg1_decode_block(MpegEncContext *s, ...@@ -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;
} }
......
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