summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2009-07-08 15:31:36 +0000
committerMaurus Cuelenaere <mcuelenaere@gmail.com>2009-07-08 15:31:36 +0000
commit24967bd552608fef998105228d519317ebd48f27 (patch)
tree7743392c3e80e92bd5d24106deac177c67c1df1c /apps
parent3c338766d15625c2672d193024480575c4786e78 (diff)
downloadrockbox-24967bd552608fef998105228d519317ebd48f27.tar.gz
rockbox-24967bd552608fef998105228d519317ebd48f27.zip
Cook codec: make sure the RMContext get aligned correctly, or we won't be able to find it
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21717 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/codecs/cook.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/codecs/cook.c b/apps/codecs/cook.c
index 7b4b8e7461..cd624abc12 100644
--- a/apps/codecs/cook.c
+++ b/apps/codecs/cook.c
@@ -34,7 +34,7 @@ COOKContext q;
34 34
35static void init_rm(RMContext *rmctx) 35static void init_rm(RMContext *rmctx)
36{ 36{
37 memcpy(rmctx, ci->id3->id3v2buf, sizeof(RMContext)); 37 memcpy(rmctx, (void*)(( (int)ci->id3->id3v2buf + 3 ) &~ 3), sizeof(RMContext));
38} 38}
39 39
40/* this is the codec entry point */ 40/* this is the codec entry point */