summaryrefslogtreecommitdiff
path: root/apps/plugins/mpegplayer/idct_arm_c.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/mpegplayer/idct_arm_c.c')
-rw-r--r--apps/plugins/mpegplayer/idct_arm_c.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/plugins/mpegplayer/idct_arm_c.c b/apps/plugins/mpegplayer/idct_arm_c.c
index be9971f5c3..9805f421a6 100644
--- a/apps/plugins/mpegplayer/idct_arm_c.c
+++ b/apps/plugins/mpegplayer/idct_arm_c.c
@@ -509,6 +509,8 @@ static void mpeg2_idct_add_c (int last, int16_t * block,
509 509
510void mpeg2_idct_init (void) 510void mpeg2_idct_init (void)
511{ 511{
512 extern uint8_t default_mpeg2_scan_norm[64];
513 extern uint8_t default_mpeg2_scan_alt[64];
512 extern uint8_t mpeg2_scan_norm[64]; 514 extern uint8_t mpeg2_scan_norm[64];
513 extern uint8_t mpeg2_scan_alt[64]; 515 extern uint8_t mpeg2_scan_alt[64];
514 int i, j; 516 int i, j;
@@ -518,10 +520,10 @@ void mpeg2_idct_init (void)
518 520
519 for (i = 0; i < 64; i++) 521 for (i = 0; i < 64; i++)
520 { 522 {
521 j = mpeg2_scan_norm[i]; 523 j = default_mpeg2_scan_norm[i];
522 mpeg2_scan_norm[i] = ((j & 0x36) >> 1) | ((j & 0x09) << 2); 524 mpeg2_scan_norm[i] = ((j & 0x36) >> 1) | ((j & 0x09) << 2);
523 525
524 j = mpeg2_scan_alt[i]; 526 j = default_mpeg2_scan_alt[i];
525 mpeg2_scan_alt[i] = ((j & 0x36) >> 1) | ((j & 0x09) << 2); 527 mpeg2_scan_alt[i] = ((j & 0x36) >> 1) | ((j & 0x09) << 2);
526 } 528 }
527} 529}