1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/apps/plugins/mpegplayer/slice.c b/apps/plugins/mpegplayer/slice.c
index 926333d..91face5 100644
--- a/apps/plugins/mpegplayer/slice.c
+++ b/apps/plugins/mpegplayer/slice.c
@@ -1061,7 +1061,8 @@ static inline void slice_non_intra_DCT (mpeg2_decoder_t * 
                                     decoder->quantizer_matrix[cc ? 3 : 1]);
     }

-    mpeg2_idct_add (last, decoder->DCTblock, dest, stride);
+    volatile int16_t *block = decoder->DCTblock;
+    mpeg2_idct_add (last, (int16_t*)block, dest, stride);
 }

 #if !MPEG2_COLOR