From 597de66c60f58d1e659630e40b3cf67033b8ce3d Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Thu, 17 Apr 2014 23:45:19 +0000 Subject: [PATCH] aacdec: Remove pointless assignment. No need to set "ret" here as the jump to "next_buffer" overwrites its content anyway. --- aacdec_filter.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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); -- 2.39.5