diff options
| author | Robert Kukla <roolku@rockbox.org> | 2007-10-09 20:42:20 +0000 |
|---|---|---|
| committer | Robert Kukla <roolku@rockbox.org> | 2007-10-09 20:42:20 +0000 |
| commit | fd3fe45bc14a0a540f2525102551c92a64a73b76 (patch) | |
| tree | 1ef8103bbfa5b33f684a94bddc5ecb4685ec5e88 /apps/plugins/mpegplayer/idct.c | |
| parent | ce135909b9393d9824b3f69a70659400480cc069 (diff) | |
| download | rockbox-fd3fe45bc14a0a540f2525102551c92a64a73b76.zip rockbox-fd3fe45bc14a0a540f2525102551c92a64a73b76.tar.gz rockbox-fd3fe45bc14a0a540f2525102551c92a64a73b76.tar.bz2 rockbox-fd3fe45bc14a0a540f2525102551c92a64a73b76.tar.xz | |
FS#7487 - mpegplayer - video start time seek with resume
by John S. Gwynne & Brian J. Morey
This should stop the patch from breaking again and give them opportunity to improve it further.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15052 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/mpegplayer/idct.c')
| -rw-r--r-- | apps/plugins/mpegplayer/idct.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/plugins/mpegplayer/idct.c b/apps/plugins/mpegplayer/idct.c index ee02e72..bf705c6 100644 --- a/apps/plugins/mpegplayer/idct.c +++ b/apps/plugins/mpegplayer/idct.c @@ -260,6 +260,8 @@ static void mpeg2_idct_add_c (const int last, int16_t * block, void mpeg2_idct_init (void) { + extern uint8_t default_mpeg2_scan_norm[64]; + extern uint8_t default_mpeg2_scan_alt[64]; extern uint8_t mpeg2_scan_norm[64]; extern uint8_t mpeg2_scan_alt[64]; int i, j; @@ -274,10 +276,10 @@ void mpeg2_idct_init (void) for (i = 0; i < 64; i++) { - j = mpeg2_scan_norm[i]; + j = default_mpeg2_scan_norm[i]; mpeg2_scan_norm[i] = ((j & 0x36) >> 1) | ((j & 0x09) << 2); - j = mpeg2_scan_alt[i]; + j = default_mpeg2_scan_alt[i]; mpeg2_scan_alt[i] = ((j & 0x36) >> 1) | ((j & 0x09) << 2); } } |