changeset 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 ac94d509884e
children aebeb38eea7a
files mpeg12.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;
         }
     }