diff options
author | Diego Biurrun <diego@biurrun.de> | 2011-12-07 13:48:58 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2011-12-07 15:29:13 +0100 |
commit | ee41963f19eb6303b1582601dfccb1753866ab63 (patch) | |
tree | b57d0533b89169f91867435381f34b519706671a /libavcodec/atrac3.c | |
parent | fc9489f6adb9d3e790e6e5ebe984eaee0c733b09 (diff) | |
download | ffmpeg-ee41963f19eb6303b1582601dfccb1753866ab63.tar.gz |
cosmetics: drop some completely pointless parentheses
Diffstat (limited to 'libavcodec/atrac3.c')
-rw-r--r-- | libavcodec/atrac3.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/libavcodec/atrac3.c b/libavcodec/atrac3.c index bdd03402da..744ef17a06 100644 --- a/libavcodec/atrac3.c +++ b/libavcodec/atrac3.c @@ -708,9 +708,10 @@ static int decodeChannelSoundUnit (ATRAC3Context *q, GetBitContext *gb, channel_ memset(pSnd->IMDCT_buf, 0, 512 * sizeof(float)); /* gain compensation and overlapping */ - gainCompensateAndOverlap (pSnd->IMDCT_buf, &(pSnd->prevFrame[band*256]), &(pOut[band*256]), - &((pSnd->gainBlock[1 - (pSnd->gcBlkSwitch)]).gBlock[band]), - &((pSnd->gainBlock[pSnd->gcBlkSwitch]).gBlock[band])); + gainCompensateAndOverlap(pSnd->IMDCT_buf, &pSnd->prevFrame[band * 256], + &pOut[band * 256], + &pSnd->gainBlock[1 - pSnd->gcBlkSwitch].gBlock[band], + &pSnd->gainBlock[ pSnd->gcBlkSwitch].gBlock[band]); } /* Swap the gain control buffers for the next frame. */ @@ -795,7 +796,9 @@ static int decodeFrame(ATRAC3Context *q, const uint8_t* databuf, for (i=0 ; i<q->channels ; i++) { /* Set the bitstream reader at the start of a channel sound unit. */ - init_get_bits(&q->gb, databuf+((i*q->bytes_per_frame)/q->channels), (q->bits_per_frame)/q->channels); + init_get_bits(&q->gb, + databuf + i * q->bytes_per_frame / q->channels, + q->bits_per_frame / q->channels); result = decodeChannelSoundUnit(q,&q->gb, &q->pUnits[i], out_samples[i], i, q->codingMode); if (result != 0) |