diff 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
line wrap: on
line diff
--- 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;
         }
     }