diff options
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 8a2583961a..4be0de647f 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) | |||
166 | skipped += rmctx->extradata_size; | 166 | skipped += rmctx->extradata_size; |
167 | switch(fourcc) { | 167 | switch(fourcc) { |
168 | case FOURCC('c','o','o','k'): | 168 | case FOURCC('c','o','o','k'): |
169 | rmctx->codec_type = cook; | 169 | rmctx->codec_type = CODEC_COOK; |
170 | break; | 170 | break; |
171 | 171 | ||
172 | case FOURCC('r','a','a','c'): | 172 | case FOURCC('r','a','a','c'): |
173 | case FOURCC('r','a','c','p'): | 173 | case FOURCC('r','a','c','p'): |
174 | rmctx->codec_type = aac; | 174 | rmctx->codec_type = CODEC_AAC; |
175 | break; | 175 | break; |
176 | 176 | ||
177 | default: /* Not a supported codec */ | 177 | default: /* Not a supported codec */ |
@@ -188,7 +188,7 @@ static inline int real_read_audio_stream_info(int fd, RMContext *rmctx) | |||
188 | DEBUGF(" fourcc = %s\n",fourcc2str(fourcc)); | 188 | DEBUGF(" fourcc = %s\n",fourcc2str(fourcc)); |
189 | DEBUGF(" codec_extra_data_length = %ld\n",rmctx->extradata_size); | 189 | DEBUGF(" codec_extra_data_length = %ld\n",rmctx->extradata_size); |
190 | DEBUGF(" codec_extradata :\n"); | 190 | DEBUGF(" codec_extradata :\n"); |
191 | if(rmctx->codec_type == cook) { | 191 | if(rmctx->codec_type == CODEC_COOK) { |
192 | DEBUGF(" cook_extradata :\n"); | 192 | DEBUGF(" cook_extradata :\n"); |
193 | print_cook_extradata(rmctx); | 193 | print_cook_extradata(rmctx); |
194 | } | 194 | } |
@@ -401,10 +401,10 @@ bool get_rm_metadata(int fd, struct mp3entry* id3) | |||
401 | 401 | ||
402 | switch(rmctx->codec_type) | 402 | switch(rmctx->codec_type) |
403 | { | 403 | { |
404 | case cook: | 404 | case CODEC_COOK: |
405 | /* Already set, do nothing */ | 405 | /* Already set, do nothing */ |
406 | break; | 406 | break; |
407 | case aac: | 407 | case CODEC_AAC: |
408 | id3->codectype = AFMT_RM_AAC; | 408 | id3->codectype = AFMT_RM_AAC; |
409 | break; | 409 | break; |
410 | } | 410 | } |