# HG changeset patch # User iive # Date 1132528145 0 # Node ID 18d47c6673f7ca26ce1faa0c4b09660b3354e153 # Parent ac94d509884e67458740804bfd2f5ec4fb51b65a Mark all 12 block unused when there are no coded blocks Fixes 422/444 artifacts diff -r ac94d509884e -r 18d47c6673f7 mpeg12.c --- a/mpeg12.c Mon Nov 14 22:17:29 2005 +0000 +++ b/mpeg12.c Sun Nov 20 23:09:05 2005 +0000 @@ -1436,7 +1436,7 @@ } } }else{ - for(i=0;i<6;i++) + for(i=0;i<12;i++) s->block_last_index[i] = -1; } }