1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
diff --git a/apps/plugins/mpegplayer/slice.c b/apps/plugins/mpegplayer/slice.c
index 926333d..f8407a0 100644
--- a/apps/plugins/mpegplayer/slice.c
+++ b/apps/plugins/mpegplayer/slice.c
@@ -1050,6 +1050,7 @@ static inline void slice_non_intra_DCT (mpeg2_decoder_t * const decoder,
                                         uint8_t * const dest, const int stride)
 {
     int last;
+    volatile uint16_t *block = decoder->DCTblock;

     if (decoder->mpeg1)
     {
@@ -1061,7 +1062,7 @@ static inline void slice_non_intra_DCT (mpeg2_decoder_t * const decoder,
                                     decoder->quantizer_matrix[cc ? 3 : 1]);
     }

-    mpeg2_idct_add (last, decoder->DCTblock, dest, stride);
+    mpeg2_idct_add (last, block, dest, stride);
 }

 #if !MPEG2_COLOR