diff options
author | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2009-07-08 15:31:36 +0000 |
---|---|---|
committer | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2009-07-08 15:31:36 +0000 |
commit | 24967bd552608fef998105228d519317ebd48f27 (patch) | |
tree | 7743392c3e80e92bd5d24106deac177c67c1df1c /apps/codecs | |
parent | 3c338766d15625c2672d193024480575c4786e78 (diff) | |
download | rockbox-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/codecs')
-rw-r--r-- | apps/codecs/cook.c | 2 |
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 | ||
35 | static void init_rm(RMContext *rmctx) | 35 | static 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 */ |