diff options
author | Benoit Fouet <benoit.fouet@free.fr> | 2007-06-14 09:32:04 +0000 |
---|---|---|
committer | Benoit Fouet <benoit.fouet@free.fr> | 2007-06-14 09:32:04 +0000 |
commit | 71fd12253d2688cd116d04a3234c785359acc338 (patch) | |
tree | fe4f674efcaf7bc722752c427b412cfbd2a935a7 /libavcodec/flac.c | |
parent | ad0f6c1fcd37e2d3925609152a0095b46c9bab2c (diff) | |
download | ffmpeg-71fd12253d2688cd116d04a3234c785359acc338.tar.gz |
add and remove some parentheses
Originally committed as revision 9308 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/flac.c')
-rw-r--r-- | libavcodec/flac.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/flac.c b/libavcodec/flac.c index b629a91282..c20a6b5e1e 100644 --- a/libavcodec/flac.c +++ b/libavcodec/flac.c @@ -673,8 +673,8 @@ static int flac_decode_frame(AVCodecContext *avctx, {\ int a= s->decoded[0][i];\ int b= s->decoded[1][i];\ - *(samples++) = (left << (24 - s->bps)) >> 8;\ - *(samples++) = (right << (24 - s->bps)) >> 8;\ + *samples++ = ((left) << (24 - s->bps)) >> 8;\ + *samples++ = ((right) << (24 - s->bps)) >> 8;\ }\ break; @@ -684,7 +684,7 @@ static int flac_decode_frame(AVCodecContext *avctx, for (j = 0; j < s->blocksize; j++) { 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; case LEFT_SIDE: |