From: Andre Noll Date: Thu, 17 Apr 2014 23:10:21 +0000 (+0000) Subject: aacdec: Kill pointless label. X-Git-Tag: v0.6.0~7^2~10 X-Git-Url: http://git.tuebingen.mpg.de/?a=commitdiff_plain;h=15e55aeebcdec69a0b92a0017cc9883dd0d21077;p=paraslash.git aacdec: Kill pointless label. The "out" and "err" labels are equivalent if ret is negative, which is the case for the only jump to "out". --- diff --git a/aacdec_filter.c b/aacdec_filter.c index 121aa262..bbaeb799 100644 --- a/aacdec_filter.c +++ b/aacdec_filter.c @@ -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);