]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
Merge branch 't/opusdec_busy_loop_fix'
authorAndre Noll <maan@systemlinux.org>
Tue, 8 Apr 2014 17:20:35 +0000 (19:20 +0200)
committerAndre Noll <maan@systemlinux.org>
Tue, 8 Apr 2014 17:20:35 +0000 (19:20 +0200)
A single fix that was cooking since 2014-03-02.

* t/opusdec_busy_loop_fix:
  opusdec: Fix busy loop.

1  2 
opusdec_filter.c

diff --combined opusdec_filter.c
index d7489859556d111e12fc20c43785c517c033b144,56a39bf0d56e8e0f0836169412a0eeb81cf35c85..9022fbab63e0c3e2626528bcfa752ff6fde8faa3
@@@ -2,7 -2,7 +2,7 @@@
   * Copyright (c) 2002-2007 Jean-Marc Valin
   * Copyright (c) 2008 CSIRO
   * Copyright (c) 2007-2012 Xiph.Org Foundation
 - * Copyright (C) 2012-2013 Andre Noll <maan@systemlinux.org>
 + * Copyright (C) 2012-2014 Andre Noll <maan@systemlinux.org>
   *
   * Licensed under the GPL v2. For licencing details see COPYING.
   */
@@@ -277,7 -277,7 +277,7 @@@ static void opusdec_pre_select(struct s
  
        if (ret != 0)
                return sched_min_delay(s);
-       if (ctx->have_more)
+       if (!ctx->have_more)
                return;
        if (btr_get_output_queue_size(fn->btrn) <= OPUSDEC_MAX_OUTPUT_SIZE)
                return sched_min_delay(s);