]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
aacdec: Kill pointless label.
authorAndre Noll <maan@systemlinux.org>
Thu, 17 Apr 2014 23:10:21 +0000 (23:10 +0000)
committerAndre Noll <maan@tuebingen.mpg.de>
Sat, 25 Mar 2017 10:54:36 +0000 (11:54 +0100)
The "out" and "err" labels are equivalent if ret is negative, which
is the case for the only jump to "out".

aacdec_filter.c

index 121aa262f71d51bcbf6c1ddbc4328adc4d3e9b62..bbaeb7995eb78a7c63e5c35edc0841ef26921448 100644 (file)
@@ -119,7 +119,7 @@ next_buffer:
                PARA_INFO_LOG("decoder init: %d\n", ret);
                if (ret < 0) {
                        ret = -E_AACDEC_INIT;
-                       goto out;
+                       goto err;
                }
                consumed = ret;
                padd->sample_rate = rate;
@@ -165,7 +165,6 @@ next_buffer:
        btr_add_output(btr_buf, loaded, btrn);
 success:
        ret = consumed;
-out:
        if (ret >= 0) {
                padd->consumed_total += ret;
                btr_consume(btrn, ret);