]> git.tue.mpg.de Git - paraslash.git/commitdiff
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 92219a1bcf994dc6233be4ee51beaf1439b99664..797e5b9cb168745087eb0b1303f7f0aba62b67bf 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);