mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
add and remove some parentheses
Originally committed as revision 9308 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
ad0f6c1fcd
commit
71fd12253d
@ -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,
|
|||||||
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:
|
||||||
|
Loading…
Reference in New Issue
Block a user