From: Andre Noll Date: Thu, 17 Apr 2014 23:45:19 +0000 (+0000) Subject: aacdec: Remove pointless assignment. X-Git-Tag: v0.6.0~7^2~5 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=597de66c60f58d1e659630e40b3cf67033b8ce3d;p=paraslash.git aacdec: Remove pointless assignment. No need to set "ret" here as the jump to "next_buffer" overwrites its content anyway. --- diff --git a/aacdec_filter.c b/aacdec_filter.c index 92219a1b..797e5b9c 100644 --- a/aacdec_filter.c +++ b/aacdec_filter.c @@ -161,9 +161,8 @@ next_buffer: } btr_add_output(btrbuf, loaded, btrn); success: - ret = consumed; - padd->consumed_total += ret; - btr_consume(btrn, ret); + btr_consume(btrn, consumed); + padd->consumed_total += consumed; goto next_buffer; err: assert(ret < 0);