diff options
| author | Mohamed Tarek <mt@rockbox.org> | 2009-07-27 12:29:06 +0000 |
|---|---|---|
| committer | Mohamed Tarek <mt@rockbox.org> | 2009-07-27 12:29:06 +0000 |
| commit | c08a2c7c53fcfc652bf2463986a447120f946b53 (patch) | |
| tree | 67fc82439dd6e9b2021f772851b3a7940597bbe8 /apps/metadata | |
| parent | 5f5d105755d93e22d283e00b07775a4d935522d3 (diff) | |
| download | rockbox-c08a2c7c53fcfc652bf2463986a447120f946b53.zip rockbox-c08a2c7c53fcfc652bf2463986a447120f946b53.tar.gz rockbox-c08a2c7c53fcfc652bf2463986a447120f946b53.tar.bz2 rockbox-c08a2c7c53fcfc652bf2463986a447120f946b53.tar.xz | |
Change enum codecs in apps/codecs/librm/rm.h to follow the coding guidelines.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22067 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/metadata')
| -rw-r--r-- | apps/metadata/rm.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/metadata/rm.c b/apps/metadata/rm.c index 8a25839..4be0de6 100644 --- a/apps/metadata/rm.c +++ b/apps/metadata/rm.c @@ -166,12 +166,12 @@ static inline int real_read_audio_stream_info(int fd, RMContext *rmctx) skipped += rmctx->extradata_size; switch(fourcc) { case FOURCC('c','o','o','k'): - rmctx->codec_type = cook; + rmctx->codec_type = CODEC_COOK; break; case FOURCC('r','a','a','c'): case FOURCC('r','a','c','p'): - rmctx->codec_type = aac; + rmctx->codec_type = CODEC_AAC; break; default: /* Not a supported codec */ @@ -188,7 +188,7 @@ static inline int real_read_audio_stream_info(int fd, RMContext *rmctx) DEBUGF(" fourcc = %s\n",fourcc2str(fourcc)); DEBUGF(" codec_extra_data_length = %ld\n",rmctx->extradata_size); DEBUGF(" codec_extradata :\n"); - if(rmctx->codec_type == cook) { + if(rmctx->codec_type == CODEC_COOK) { DEBUGF(" cook_extradata :\n"); print_cook_extradata(rmctx); } @@ -401,10 +401,10 @@ bool get_rm_metadata(int fd, struct mp3entry* id3) switch(rmctx->codec_type) { - case cook: + case CODEC_COOK: /* Already set, do nothing */ break; - case aac: + case CODEC_AAC: id3->codectype = AFMT_RM_AAC; break; } |