diff options
author | Ivan Kalvachev <ikalvachev@gmail.com> | 2005-11-20 23:09:05 +0000 |
---|---|---|
committer | Ivan Kalvachev <ikalvachev@gmail.com> | 2005-11-20 23:09:05 +0000 |
commit | 31a78b718beb4cd5e73be90c3db5c7ea1eddb2f0 (patch) | |
tree | 119a3dc4cce190613d071f44772686e4200d2eff | |
parent | a8289180a1bf85b3a7f29446ca79e57a1d07cffe (diff) | |
download | ffmpeg-31a78b718beb4cd5e73be90c3db5c7ea1eddb2f0.tar.gz |
Mark all 12 block unused when there are no coded blocks
Fixes 422/444 artifacts
Originally committed as revision 4708 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 94450a0a2d..a97b8bbaa1 100644 --- a/libavcodec/mpeg12.c +++ b/libavcodec/mpeg12.c @@ -1436,7 +1436,7 @@ static int mpeg_decode_mb(MpegEncContext *s, } } }else{ - for(i=0;i<6;i++) + for(i=0;i<12;i++) s->block_last_index[i] = -1; } } |