Commit dc1d743e authored by benoit's avatar benoit

add and remove some parentheses


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@9308 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 1ceaf7a8
...@@ -673,8 +673,8 @@ static int flac_decode_frame(AVCodecContext *avctx, ...@@ -673,8 +673,8 @@ static int flac_decode_frame(AVCodecContext *avctx,
{\ {\
int a= s->decoded[0][i];\ int a= s->decoded[0][i];\
int b= s->decoded[1][i];\ int b= s->decoded[1][i];\
*(samples++) = (left << (24 - s->bps)) >> 8;\ *samples++ = ((left) << (24 - s->bps)) >> 8;\
*(samples++) = (right << (24 - s->bps)) >> 8;\ *samples++ = ((right) << (24 - s->bps)) >> 8;\
}\ }\
break; break;
...@@ -684,7 +684,7 @@ static int flac_decode_frame(AVCodecContext *avctx, ...@@ -684,7 +684,7 @@ static int flac_decode_frame(AVCodecContext *avctx,
for (j = 0; j < s->blocksize; j++) for (j = 0; j < s->blocksize; j++)
{ {
for (i = 0; i < s->channels; i++) for (i = 0; i < s->channels; i++)
*(samples++) = (s->decoded[i][j] << (24 - s->bps)) >> 8; *samples++ = (s->decoded[i][j] << (24 - s->bps)) >> 8;
} }
break; break;
case LEFT_SIDE: case LEFT_SIDE:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment