diff options
author | Rafaël Carré <rafael.carre@gmail.com> | 2010-03-25 18:17:54 +0000 |
---|---|---|
committer | Rafaël Carré <rafael.carre@gmail.com> | 2010-03-25 18:17:54 +0000 |
commit | 57b3d0952540e643c03777da096580ca3dd0f11c (patch) | |
tree | 98c959f1176e1ebec9fe90e06f70613a273e758a /apps/plugins | |
parent | ad55f78a0795e3741cafd9f06f438922279befd2 (diff) | |
download | rockbox-57b3d0952540e643c03777da096580ca3dd0f11c.tar.gz rockbox-57b3d0952540e643c03777da096580ca3dd0f11c.zip |
mpegplayer: align video output data structure only on multicore
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25330 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins')
-rw-r--r-- | apps/plugins/mpegplayer/video_out_rockbox.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/mpegplayer/video_out_rockbox.c b/apps/plugins/mpegplayer/video_out_rockbox.c index 450a8bc7a1..ee0efb8824 100644 --- a/apps/plugins/mpegplayer/video_out_rockbox.c +++ b/apps/plugins/mpegplayer/video_out_rockbox.c | |||
@@ -43,7 +43,7 @@ struct vo_data | |||
43 | struct vo_rect rc_clip; | 43 | struct vo_rect rc_clip; |
44 | }; | 44 | }; |
45 | 45 | ||
46 | #ifdef PROC_NEEDS_CACHEALIGN | 46 | #if NUM_CORES > 1 |
47 | /* Cache aligned and padded to avoid clobbering other processors' cacheable | 47 | /* Cache aligned and padded to avoid clobbering other processors' cacheable |
48 | * data */ | 48 | * data */ |
49 | static uint8_t __vo_data[CACHEALIGN_UP(sizeof(struct vo_data))] | 49 | static uint8_t __vo_data[CACHEALIGN_UP(sizeof(struct vo_data))] |