aacdec: Remove pointless assignment.
authorAndre Noll <maan@systemlinux.org>
Thu, 17 Apr 2014 23:45:19 +0000 (23:45 +0000)
committerAndre Noll <maan@tuebingen.mpg.de>
Sat, 25 Mar 2017 10:54:36 +0000 (11:54 +0100)
No need to set "ret" here as the jump to "next_buffer" overwrites
its content anyway.

aacdec_filter.c

index 92219a1..797e5b9 100644 (file)
@@ -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);