aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/vc1.c
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2006-07-01 07:13:52 +0000
committerKostya Shishkov <kostya.shishkov@gmail.com>2006-07-01 07:13:52 +0000
commite9f2396e6f5557415e40971fb550fc2bc8f13571 (patch)
tree611a95f636b5ea73998e355487bd578cf6a87f1b /libavcodec/vc1.c
parenta34c26cc3d40a728f769c43ce8fccfeef06152fb (diff)
downloadffmpeg-e9f2396e6f5557415e40971fb550fc2bc8f13571.tar.gz
0xFFFF l of cola. Now P-frames are decoded almost without distortions.
Originally committed as revision 5563 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/vc1.c')
-rw-r--r--libavcodec/vc1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/vc1.c b/libavcodec/vc1.c
index 4c7d6780db..5a37306642 100644
--- a/libavcodec/vc1.c
+++ b/libavcodec/vc1.c
@@ -2044,12 +2044,12 @@ static int vc1_decode_p_block(VC1Context *v, DCTELEM block[64], int n, int mquan
// convert transforms like 8X4_TOP to generic TT and SUBBLKPAT
if(ttblk == TT_8X4_TOP || ttblk == TT_8X4_BOTTOM) {
- ttblk = TT_8X4;
subblkpat = 2 - (ttblk == TT_8X4_TOP);
+ ttblk = TT_8X4;
}
if(ttblk == TT_4X8_RIGHT || ttblk == TT_4X8_LEFT) {
- ttblk = TT_4X8;
subblkpat = 2 - (ttblk == TT_4X8_LEFT);
+ ttblk = TT_4X8;
}
switch(ttblk) {
case TT_8X8: