]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - audiod.c
audiod: Simplify start_stop_decoders().
[paraslash.git] / audiod.c
index a8f401834b8a438d7b21d96920bc7b735f0a6c6b..b7b6d2d76af88ecbbb2f4a2f892f0848a4d5ad37 100644 (file)
--- a/audiod.c
+++ b/audiod.c
@@ -1171,7 +1171,6 @@ static void start_stop_decoders(void)
 {
        int ret;
        struct slot_info *sl;
-       struct audio_format_info *a;
 
        close_unused_slots();
        if (audiod_status != AUDIOD_ON ||
@@ -1185,9 +1184,7 @@ static void start_stop_decoders(void)
                return;
        }
        sl = slot + ret;
-       a = afi + sl->format;
-       if (a->num_filters)
-               open_filters(sl);
+       open_filters(sl);
        open_writers(sl);
        activate_grab_clients(&sched);
        btr_log_tree(sl->receiver_node->btrn, LL_NOTICE);