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
This commit is contained in:
parent
3c338766d1
commit
24967bd552
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ COOKContext q;
|
|||
|
||||
static void init_rm(RMContext *rmctx)
|
||||
{
|
||||
memcpy(rmctx, ci->id3->id3v2buf, sizeof(RMContext));
|
||||
memcpy(rmctx, (void*)(( (int)ci->id3->id3v2buf + 3 ) &~ 3), sizeof(RMContext));
|
||||
}
|
||||
|
||||
/* this is the codec entry point */
|
||||
|
|
Loading…
Reference in a new issue