]> git.tue.mpg.de Git - paraslash.git/commitdiff
mp3dec: Don't check for bad data delay on errors.
authorAndre Noll <maan@systemlinux.org>
Wed, 13 Jan 2010 06:37:00 +0000 (07:37 +0100)
committerAndre Noll <maan@systemlinux.org>
Wed, 13 Jan 2010 06:37:00 +0000 (07:37 +0100)
mp3dec_filter.c

index bff42090158d4929cab5e7cbdfdcf20aff864bdf..696367d6c0855e789c3b0ee47529316fbedf925d 100644 (file)
@@ -131,11 +131,11 @@ next_buffer:
        pmd->stream.error = 0;
        t->error = 0;
        iqs = btr_get_input_queue_size(btrn);
-       if (need_bad_data_delay(pmd, iqs))
-               return;
        ret = btr_node_status(btrn, fn->min_iqs, BTR_NT_INTERNAL);
        if (ret < 0)
                goto err;
+       if (need_bad_data_delay(pmd, iqs))
+               return;
        if (ret == 0)
                return;
        btr_merge(btrn, fn->min_iqs);