aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2007-03-27 07:27:53 +0000
committerKostya Shishkov <kostya.shishkov@gmail.com>2007-03-27 07:27:53 +0000
commit6b27f3b87f5a5b4ab3afb00e915d156301b41958 (patch)
tree74fc6378ce5875b83561f584895ed975fa669669 /libavcodec
parent9ac421e3c101d3b2b0a0e5114c211b6d72459bb2 (diff)
downloadffmpeg-6b27f3b87f5a5b4ab3afb00e915d156301b41958.tar.gz
One more FASTTX-related hack
Originally committed as revision 8532 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/vc1.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/vc1.c b/libavcodec/vc1.c
index 0c6c2026c2..b2a28d92bb 100644
--- a/libavcodec/vc1.c
+++ b/libavcodec/vc1.c
@@ -3849,6 +3849,7 @@ static void vc1_decode_i_blocks(VC1Context *v)
vc1_decode_i_block(v, s->block[k], k, val, (k<4)? v->codingset : v->codingset2);
s->dsp.vc1_inv_trans_8x8(s->block[k]);
+ if(!v->res_fasttx && !v->res_x8) for(j = 0; j < 64; j++) s->block[k][j] -= 16;
if(v->pq >= 9 && v->overlap) {
for(j = 0; j < 64; j++) s->block[k][j] += 128;
}