From: Andre Noll Date: Thu, 17 Apr 2014 23:34:04 +0000 (+0000) Subject: aacdec: Remove pointless variable p. X-Git-Tag: v0.6.0~7^2~8 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=35a11289d230fe16f8c400ce19cec3a5befb1e97;ds=sidebyside aacdec: Remove pointless variable p. --- 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;