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/codecs/librm/rm.c | |
parent | 5f5d105755d93e22d283e00b07775a4d935522d3 (diff) | |
download | rockbox-c08a2c7c53fcfc652bf2463986a447120f946b53.tar.gz rockbox-c08a2c7c53fcfc652bf2463986a447120f946b53.zip |
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/codecs/librm/rm.c')
-rw-r--r-- | apps/codecs/librm/rm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/codecs/librm/rm.c b/apps/codecs/librm/rm.c index a48fb51cc6..c802a0c5a9 100644 --- a/apps/codecs/librm/rm.c +++ b/apps/codecs/librm/rm.c | |||
@@ -529,7 +529,7 @@ int rm_get_packet(uint8_t **src,RMContext *rmctx, RMPacket *pkt) | |||
529 | 529 | ||
530 | advance_buffer(src,12); | 530 | advance_buffer(src,12); |
531 | consumed += 12; | 531 | consumed += 12; |
532 | if (rmctx->codec_type == cook) { | 532 | if (rmctx->codec_type == CODEC_COOK) { |
533 | for(x = 0 ; x < w/sps; x++) | 533 | for(x = 0 ; x < w/sps; x++) |
534 | { | 534 | { |
535 | place = sps*(h*x+((h+1)/2)*(y&1)+(y>>1)); | 535 | place = sps*(h*x+((h+1)/2)*(y&1)+(y>>1)); |
@@ -538,7 +538,7 @@ int rm_get_packet(uint8_t **src,RMContext *rmctx, RMPacket *pkt) | |||
538 | consumed += sps; | 538 | consumed += sps; |
539 | } | 539 | } |
540 | } | 540 | } |
541 | else if (rmctx->codec_type == aac) { | 541 | else if (rmctx->codec_type == CODEC_AAC) { |
542 | rmctx->sub_packet_cnt = (get_uint16be(*src) & 0xf0) >> 4; | 542 | rmctx->sub_packet_cnt = (get_uint16be(*src) & 0xf0) >> 4; |
543 | advance_buffer(src, 2); | 543 | advance_buffer(src, 2); |
544 | consumed += 2; | 544 | consumed += 2; |