From 58bb6b7d9327eeed4d450e23c1316c439b6204a9 Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Sat, 16 Apr 2011 15:07:14 -0400 Subject: 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 --- libavcodec/vc1.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libavcodec/vc1.h') 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 */ -- cgit v1.2.3