summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-03-25 18:17:54 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-03-25 18:17:54 +0000
commit57b3d0952540e643c03777da096580ca3dd0f11c (patch)
tree98c959f1176e1ebec9fe90e06f70613a273e758a /apps
parentad55f78a0795e3741cafd9f06f438922279befd2 (diff)
downloadrockbox-57b3d0952540e643c03777da096580ca3dd0f11c.tar.gz
rockbox-57b3d0952540e643c03777da096580ca3dd0f11c.tar.bz2
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')
-rw-r--r--apps/plugins/mpegplayer/video_out_rockbox.c2
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
struct vo_rect rc_clip;
};
-#ifdef PROC_NEEDS_CACHEALIGN
+#if NUM_CORES > 1
/* Cache aligned and padded to avoid clobbering other processors' cacheable
* data */
static uint8_t __vo_data[CACHEALIGN_UP(sizeof(struct vo_data))]