{"body":"diff --git a/libavcodec/idctdsp.c b/libavcodec/idctdsp.c\nindex f42803c..e1f1d98 100644\n--- a/libavcodec/idctdsp.c\n+++ b/libavcodec/idctdsp.c\n@@ -256,8 +256,8 @@ av_cold void ff_idctdsp_init(IDCTDSPContext *c, AVCodecContext *avctx)\n         c->perm_type = FF_IDCT_PERM_NONE;\n     } else {\n         if (avctx->bits_per_raw_sample == 10 || avctx->bits_per_raw_sample == 9) {\n-            //c->idct_put              = ff_simple_idct_put_10;\n-            c->idct_put              = ff_idct_float;\n+            c->idct_put              = ff_simple_idct_put_10;\n+            //c->idct_put              = ff_idct_float;\n             c->idct_add              = ff_simple_idct_add_10;\n             c->idct                  = ff_simple_idct_10;\n             c->perm_type             = FF_IDCT_PERM_NONE;\ndiff --git a/libavcodec/simple_idct_template.c b/libavcodec/simple_idct_template.c\nindex f532313..9105936 100644\n--- a/libavcodec/simple_idct_template.c\n+++ b/libavcodec/simple_idct_template.c\n@@ -78,8 +78,8 @@\n #define COL_SHIFT 18\n #define DC_SHIFT  1\n #   else\n-#define ROW_SHIFT 12\n-#define COL_SHIFT 19\n+#define ROW_SHIFT 13\n+#define COL_SHIFT 21\n #define DC_SHIFT  2\n #   endif\n \n@@ -109,11 +109,12 @@\n #ifdef EXTRA_SHIFT\n static inline void FUNC(idctRowCondDC_extrashift)(int16_t *row, int extra_shift)\n #else\n-static inline void FUNC(idctRowCondDC)(int16_t *row, int extra_shift)\n+static inline void FUNC(idctRowCondDC)(int32_t *row, int extra_shift)\n #endif\n {\n     SUINT a0, a1, a2, a3, b0, b1, b2, b3;\n \n+#if 0\n #if HAVE_FAST_64BIT\n #define ROW0_MASK (0xffffLL << 48 * HAVE_BIGENDIAN)\n     if (((AV_RN64A(row) & ~ROW0_MASK) | AV_RN64A(row+4)) == 0) {\n@@ -148,6 +149,7 @@ static inline void FUNC(idctRowCondDC)(int16_t *row, int extra_shift)\n         return;\n     }\n #endif\n+#endif\n \n     a0 = (W4 * row[0]) + (1 << (ROW_SHIFT + extra_shift - 1));\n     a1 = a0;\n@@ -168,7 +170,7 @@ static inline void FUNC(idctRowCondDC)(int16_t *row, int extra_shift)\n     b3 = MUL(W7, row[1]);\n     MAC(b3, -W5, row[3]);\n \n-    if (AV_RN64A(row + 4)) {\n+    if (1) {\n         a0 +=   W4*row[4] + W6*row[6];\n         a1 += - W4*row[4] - W2*row[6];\n         a2 += - W4*row[4] + W2*row[6];\n@@ -251,7 +253,7 @@ static inline void FUNC(idctRowCondDC)(int16_t *row, int extra_shift)\n static inline void FUNC(idctSparseCol_extrashift)(int16_t *col)\n #else\n static inline void FUNC(idctSparseColPut)(pixel *dest, ptrdiff_t line_size,\n-                                          int16_t *col)\n+                                          int32_t *col)\n {\n     SUINT a0, a1, a2, a3, b0, b1, b2, b3;\n \n@@ -316,8 +318,9 @@ static inline void FUNC(idctSparseCol)(int16_t *col)\n }\n \n #ifndef EXTRA_SHIFT\n-void FUNC(ff_simple_idct_put)(uint8_t *dest_, ptrdiff_t line_size, int16_t *block)\n+void FUNC(ff_simple_idct_put)(uint8_t *dest_, ptrdiff_t line_size, int16_t *block_)\n {\n+    int32_t *block = (int32_t *)block_;\n     pixel *dest = (pixel *)dest_;\n     int i;\n \n","name":"","extension":"diff","url":"https://www.irccloud.com/pastebin/hgz0N2IG","modified":1514308985,"id":"hgz0N2IG","size":2938,"lines":81,"own_paste":false,"theme":"","date":1514308985}