changeset 3377:dc4813852345 libavcodec

0xFFFF l of cola. Now P-frames are decoded almost without distortions.
author kostya
date Sat, 01 Jul 2006 07:13:52 +0000
parents 9bf829b51da0
children d7dda9fd99c8
files vc1.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/vc1.c	Sat Jul 01 03:19:28 2006 +0000
+++ b/vc1.c	Sat Jul 01 07:13:52 2006 +0000
@@ -2044,12 +2044,12 @@
 
     // convert transforms like 8X4_TOP to generic TT and SUBBLKPAT
     if(ttblk == TT_8X4_TOP || ttblk == TT_8X4_BOTTOM) {
+        subblkpat = 2 - (ttblk == TT_8X4_TOP);
         ttblk = TT_8X4;
-        subblkpat = 2 - (ttblk == TT_8X4_TOP);
     }
     if(ttblk == TT_4X8_RIGHT || ttblk == TT_4X8_LEFT) {
+        subblkpat = 2 - (ttblk == TT_4X8_LEFT);
         ttblk = TT_4X8;
-        subblkpat = 2 - (ttblk == TT_4X8_LEFT);
     }
     switch(ttblk) {
     case TT_8X8: