forked from len0rd/rockbox
Fix yellow - (Value in an enumeration not handled in a switch).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22032 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
b8cccb5ae1
commit
fe1568a11c
1 changed files with 5 additions and 1 deletions
|
|
@ -401,8 +401,12 @@ bool get_rm_metadata(int fd, struct mp3entry* id3)
|
||||||
|
|
||||||
switch(rmctx->codec_type)
|
switch(rmctx->codec_type)
|
||||||
{
|
{
|
||||||
|
case cook:
|
||||||
|
/* Already set, do nothing */
|
||||||
|
break;
|
||||||
case aac:
|
case aac:
|
||||||
id3->codectype = AFMT_RAAC;
|
id3->codectype = AFMT_RAAC;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
id3->bitrate = rmctx->bit_rate / 1000;
|
id3->bitrate = rmctx->bit_rate / 1000;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue