improved info status items for the playlist selector
[paraslash.git] / audiod.c
index a78ccd6..00cdf34 100644 (file)
--- a/audiod.c
+++ b/audiod.c
@@ -368,8 +368,6 @@ __malloc static char *decoder_flags(void)
                        flag += 1;
                if (s->wpid > 0)
                        flag += 2;
-               if (flag != '0')
-                       flag += s->format * 4;
                decoder_flags[i] = flag;
        }
        decoder_flags[MAX_STREAM_SLOTS] = '\0';
@@ -1096,8 +1094,9 @@ static int setup_default_filters(void)
                free(tmp);
                if (ret < 0)
                        goto out;
-               PARA_INFO_LOG("%s -> default filter: %s\n", audio_formats[i], filters[j].name);
-               ret = add_filter(i, para_strdup("wav"));
+               PARA_INFO_LOG("%s -> default filter: %s\n", audio_formats[i],
+                       filters[j].name);
+               ret = add_filter(i, "wav");
                if (ret < 0)
                        goto out;
                PARA_INFO_LOG("%s -> default filter: wav\n", audio_formats[i]);