From fa2a3a1005a7c4ffc40d32942aa612f5c136c51c Mon Sep 17 00:00:00 2001 From: Ron Pedde Date: Mon, 3 Apr 2006 03:47:11 +0000 Subject: [PATCH] Make transcoding work for codec types that aren't known --- src/mp3-scanner.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mp3-scanner.c b/src/mp3-scanner.c index 9009bc23..bce212f9 100644 --- a/src/mp3-scanner.c +++ b/src/mp3-scanner.c @@ -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;