From cc38b08b6215e9c1ee9e1d96af0eebc12fd6479a Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Wed, 13 Jan 2010 07:37:00 +0100 Subject: [PATCH] mp3dec: Don't check for bad data delay on errors. --- mp3dec_filter.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mp3dec_filter.c b/mp3dec_filter.c index bff42090..696367d6 100644 --- a/mp3dec_filter.c +++ b/mp3dec_filter.c @@ -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); -- 2.39.5