forked from len0rd/rockbox
Move the DATA_HEADER_SIZE define to codecs/librm/rm.h and add a define
for PACKET_HEADER_SIZE. No functional changes. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22152 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
c2480c33f7
commit
3c58b26152
3 changed files with 4 additions and 4 deletions
|
@ -24,8 +24,6 @@
|
|||
#include "inttypes.h"
|
||||
#include "libcook/cook.h"
|
||||
|
||||
#define DATA_HEADER_SIZE 18 /* size of DATA chunk header in a rm file */
|
||||
|
||||
CODEC_HEADER
|
||||
|
||||
RMContext rmctx;
|
||||
|
|
|
@ -25,6 +25,8 @@
|
|||
#include <inttypes.h>
|
||||
|
||||
#define MAX_EXTRADATA_SIZE 16
|
||||
#define DATA_HEADER_SIZE 18
|
||||
#define PACKET_HEADER_SIZE 12
|
||||
|
||||
enum codecs{CODEC_COOK, CODEC_AAC};
|
||||
typedef struct rm_packet
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
|
||||
* Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
|
||||
* \/ \/ \/ \/ \/
|
||||
* $Id: aac.c 19743 2009-01-10 21:10:56Z zagor $
|
||||
* $Id:$
|
||||
*
|
||||
* Copyright (C) 2009 Mohamed Tarek
|
||||
*
|
||||
|
@ -27,7 +27,7 @@
|
|||
#include "libfaad/output.h"
|
||||
|
||||
CODEC_HEADER
|
||||
#define DATA_HEADER_SIZE 18
|
||||
|
||||
static void init_rm(RMContext *rmctx)
|
||||
{
|
||||
memcpy(rmctx, (void*)(( (intptr_t)ci->id3->id3v2buf + 3 ) &~ 3), sizeof(RMContext));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue