forked from len0rd/rockbox
Fix a bug spotted by Maurus Cuelenaere; rockbox crashed on viewing the porperties of files with unsupported extensions due to the null ext list in
raac. Also add support for audio-only rmvb files. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22065 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
c393b1dc5c
commit
320bd1adb8
2 changed files with 3 additions and 2 deletions
|
|
@ -85,6 +85,7 @@ static const struct filetype inbuilt_filetypes[] = {
|
|||
{ "sap" ,FILE_ATTR_AUDIO, Icon_Audio, VOICE_EXT_MPA },
|
||||
{ "rm", FILE_ATTR_AUDIO, Icon_Audio, VOICE_EXT_MPA },
|
||||
{ "ra", FILE_ATTR_AUDIO, Icon_Audio, VOICE_EXT_MPA },
|
||||
{ "rmvb",FILE_ATTR_AUDIO, Icon_Audio, VOICE_EXT_MPA },
|
||||
#endif
|
||||
{ "m3u", FILE_ATTR_M3U, Icon_Playlist, LANG_PLAYLIST },
|
||||
{ "m3u8",FILE_ATTR_M3U, Icon_Playlist, LANG_PLAYLIST },
|
||||
|
|
|
|||
|
|
@ -117,10 +117,10 @@ const struct afmt_entry audio_formats[AFMT_NUM_CODECS] =
|
|||
AFMT_ENTRY("SAP", "asap", NULL, "sap\0" ),
|
||||
/* Cook in RM/RA */
|
||||
[AFMT_COOK] =
|
||||
AFMT_ENTRY("Cook", "cook", NULL, "rm\0ra\0" ),
|
||||
AFMT_ENTRY("Cook", "cook", NULL, "rm\0ra\0rmvb\0" ),
|
||||
/* AAC in RM/RA */
|
||||
[AFMT_RAAC] =
|
||||
AFMT_ENTRY("RAAC", "raac", NULL, NULL ),
|
||||
AFMT_ENTRY("RAAC", "raac", NULL, "rm\0ra\0rmvb\0" ),
|
||||
#endif
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue