On Wed, Dec 07, 2011 at 11:30:06AM +0100, Diego Biurrun wrote:
> ---
>  libavcodec/atrac3.c           |    6 ++++--
>  libavcodec/mpegvideo.c        |    7 ++++---
>  libavcodec/mpegvideo_common.h |    2 +-
>  libavcodec/msrledec.c         |    4 ++--
>  libavcodec/vc1dec.c           |    2 +-
>  libavcodec/vorbisdec.c        |    2 +-
>  libavdevice/libdc1394.c       |    4 ++--
>  7 files changed, 15 insertions(+), 12 deletions(-)
> 
> diff --git a/libavcodec/atrac3.c b/libavcodec/atrac3.c
> index bdd0340..b4b050b 100644
> --- a/libavcodec/atrac3.c
> +++ b/libavcodec/atrac3.c
> @@ -709,7 +709,7 @@ static int decodeChannelSoundUnit (ATRAC3Context *q, 
> GetBitContext *gb, channel_
>  
>          /* gain compensation and overlapping */
>          gainCompensateAndOverlap (pSnd->IMDCT_buf, 
> &(pSnd->prevFrame[band*256]), &(pOut[band*256]),
> -                                    &((pSnd->gainBlock[1 - 
> (pSnd->gcBlkSwitch)]).gBlock[band]),
> +                                    &((pSnd->gainBlock[1 - 
> pSnd->gcBlkSwitch]).gBlock[band]),
>                                      
> &((pSnd->gainBlock[pSnd->gcBlkSwitch]).gBlock[band]));

May I say that there's only one set of parentheses needed in this entire chunk?

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to