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
This commit is contained in:
Ivan Kalvachev 2005-11-20 23:09:05 +00:00
parent a8289180a1
commit 31a78b718b
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}
}