summaryrefslogtreecommitdiff
path: root/libavcodec/vc1.h
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2011-04-16 15:07:14 -0400
committerRonald S. Bultje <rsbultje@gmail.com>2011-04-16 15:19:53 -0400
commit58bb6b7d9327eeed4d450e23c1316c439b6204a9 (patch)
tree92c4384c2de6e3af81fb32b0419456d5cbeaf9ec /libavcodec/vc1.h
parent14622ef05d36693aad4a92bb6313bb9d2a03c8dc (diff)
downloadffmpeg-58bb6b7d9327eeed4d450e23c1316c439b6204a9.tar.gz
wmv3dec: fix playback of complex WMV3 files using simple_idct.
IDCT coefficients are read transposed, but simple_idct does not expect this. Therefore, only do tranposed coefficient reading if we're not using simple_idct. Fixes http://forum.videolan.org/viewtopic.php?f=14&t=89651
Diffstat (limited to 'libavcodec/vc1.h')
-rw-r--r--libavcodec/vc1.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/vc1.h b/libavcodec/vc1.h
index d0c0cccfb0..db8a7f42b2 100644
--- a/libavcodec/vc1.h
+++ b/libavcodec/vc1.h
@@ -218,6 +218,7 @@ typedef struct VC1Context{
int range_x, range_y; ///< MV range
uint8_t pq, altpq; ///< Current/alternate frame quantizer scale
uint8_t zz_8x8[4][64];///< Zigzag table for TT_8x8, permuted for IDCT
+ int left_blk_sh, top_blk_sh; ///< Either 3 or 0, positions of l/t in blk[]
const uint8_t* zz_8x4;///< Zigzag scan table for TT_8x4 coding mode
const uint8_t* zz_4x8;///< Zigzag scan table for TT_4x8 coding mode
/** pquant parameters */