comparison mpeg12.c @ 2947:18d47c6673f7 libavcodec

Mark all 12 block unused when there are no coded blocks Fixes 422/444 artifacts
author iive
date Sun, 20 Nov 2005 23:09:05 +0000
parents fd5d7c732c6b
children ef2149182f1c
comparison
equal deleted inserted replaced
2946:ac94d509884e 2947:18d47c6673f7
1434 cbp+=cbp; 1434 cbp+=cbp;
1435 } 1435 }
1436 } 1436 }
1437 } 1437 }
1438 }else{ 1438 }else{
1439 for(i=0;i<6;i++) 1439 for(i=0;i<12;i++)
1440 s->block_last_index[i] = -1; 1440 s->block_last_index[i] = -1;
1441 } 1441 }
1442 } 1442 }
1443 1443
1444 s->current_picture.mb_type[ s->mb_x + s->mb_y*s->mb_stride ]= mb_type; 1444 s->current_picture.mb_type[ s->mb_x + s->mb_y*s->mb_stride ]= mb_type;