1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

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

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