From 35a11289d230fe16f8c400ce19cec3a5befb1e97 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Thu, 17 Apr 2014 23:34:04 +0000 Subject: [PATCH] aacdec: Remove pointless variable p. --- aacdec_filter.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/aacdec_filter.c b/aacdec_filter.c index 7e6f5b21..c8299846 100644 --- a/aacdec_filter.c +++ b/aacdec_filter.c @@ -97,7 +97,7 @@ static int aacdec_post_select(__a_unused struct sched *s, void *context) struct btr_node *btrn = fn->btrn; struct private_aacdec_data *padd = fn->private_data; int i, ret; - char *p, *inbuf, *outbuffer; + char *inbuf, *outbuffer; char *btr_buf; size_t len, consumed, loaded; @@ -130,11 +130,10 @@ next_buffer: } if (consumed >= len) goto success; - p = inbuf + consumed; //PARA_CRIT_LOG("consumed: %zu (%zu + %zu), have: %zu\n", padd->consumed_total + consumed, // padd->consumed_total, consumed, len - consumed); outbuffer = NeAACDecDecode(padd->handle, &padd->frame_info, - (unsigned char *)p, len - consumed); + (unsigned char *)inbuf + consumed, len - consumed); if (padd->frame_info.error) { int err = padd->frame_info.error; ret = -E_AAC_DECODE; -- 2.39.5