diff options
-rw-r--r-- | apps/codecs/cook.c | 2 | ||||
-rw-r--r-- | apps/codecs/librm/rm.h | 2 | ||||
-rw-r--r-- | apps/codecs/raac.c | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/apps/codecs/cook.c b/apps/codecs/cook.c index ec30b3e6bc..c9039a480c 100644 --- a/apps/codecs/cook.c +++ b/apps/codecs/cook.c | |||
@@ -24,8 +24,6 @@ | |||
24 | #include "inttypes.h" | 24 | #include "inttypes.h" |
25 | #include "libcook/cook.h" | 25 | #include "libcook/cook.h" |
26 | 26 | ||
27 | #define DATA_HEADER_SIZE 18 /* size of DATA chunk header in a rm file */ | ||
28 | |||
29 | CODEC_HEADER | 27 | CODEC_HEADER |
30 | 28 | ||
31 | RMContext rmctx; | 29 | RMContext rmctx; |
diff --git a/apps/codecs/librm/rm.h b/apps/codecs/librm/rm.h index cd59cffc55..12e9b18fa3 100644 --- a/apps/codecs/librm/rm.h +++ b/apps/codecs/librm/rm.h | |||
@@ -25,6 +25,8 @@ | |||
25 | #include <inttypes.h> | 25 | #include <inttypes.h> |
26 | 26 | ||
27 | #define MAX_EXTRADATA_SIZE 16 | 27 | #define MAX_EXTRADATA_SIZE 16 |
28 | #define DATA_HEADER_SIZE 18 | ||
29 | #define PACKET_HEADER_SIZE 12 | ||
28 | 30 | ||
29 | enum codecs{CODEC_COOK, CODEC_AAC}; | 31 | enum codecs{CODEC_COOK, CODEC_AAC}; |
30 | typedef struct rm_packet | 32 | typedef struct rm_packet |
diff --git a/apps/codecs/raac.c b/apps/codecs/raac.c index cfc5b4a460..db113b3494 100644 --- a/apps/codecs/raac.c +++ b/apps/codecs/raac.c | |||
@@ -5,7 +5,7 @@ | |||
5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | 5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < |
6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | 6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ |
7 | * \/ \/ \/ \/ \/ | 7 | * \/ \/ \/ \/ \/ |
8 | * $Id: aac.c 19743 2009-01-10 21:10:56Z zagor $ | 8 | * $Id:$ |
9 | * | 9 | * |
10 | * Copyright (C) 2009 Mohamed Tarek | 10 | * Copyright (C) 2009 Mohamed Tarek |
11 | * | 11 | * |
@@ -27,7 +27,7 @@ | |||
27 | #include "libfaad/output.h" | 27 | #include "libfaad/output.h" |
28 | 28 | ||
29 | CODEC_HEADER | 29 | CODEC_HEADER |
30 | #define DATA_HEADER_SIZE 18 | 30 | |
31 | static void init_rm(RMContext *rmctx) | 31 | static void init_rm(RMContext *rmctx) |
32 | { | 32 | { |
33 | memcpy(rmctx, (void*)(( (intptr_t)ci->id3->id3v2buf + 3 ) &~ 3), sizeof(RMContext)); | 33 | memcpy(rmctx, (void*)(( (intptr_t)ci->id3->id3v2buf + 3 ) &~ 3), sizeof(RMContext)); |