Make transcoding work for codec types that aren't known

This commit is contained in:
Ron Pedde 2006-04-03 03:47:11 +00:00
parent 5d967ead1e
commit fa2a3a1005

View File

@ -531,6 +531,8 @@ void scan_music_file(char *path, struct dirent *pde,
} else {
/* just dummy up songformat, codectype and description */
mp3file.type=strdup(type);
mp3file.codectype = strdup("unkn");
mp3file.song_length = 10 * 60 * 1000; /* 10 min */
/* upper-case types cause some problems */
current=mp3file.type;