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
pull/126/head
Ivan Kalvachev 19 years ago
parent a8289180a1
commit 31a78b718b
  1. 2
      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;
}
}

Loading…
Cancel
Save