diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2012-02-10 20:18:10 -0500 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2012-02-10 20:27:55 -0500 |
commit | 9d7cee50aa349563aa5faca1cff256ffccff6551 (patch) | |
tree | e604aa613cf4e71f4a0c5e95633ac92b672e224b | |
parent | f98ede7e610da644d3e5d553fc5d7102cf1ccde7 (diff) | |
download | ffmpeg-9d7cee50aa349563aa5faca1cff256ffccff6551.tar.gz |
wavpack: add needed braces for 2 statements inside an if block
-rw-r--r-- | libavcodec/wavpack.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/wavpack.c b/libavcodec/wavpack.c index 31604f51fc..fb0e0b2fa7 100644 --- a/libavcodec/wavpack.c +++ b/libavcodec/wavpack.c @@ -911,8 +911,9 @@ static int wavpack_decode_block(AVCodecContext *avctx, int block_no, } else { for (j = 0; j < s->decorr[i].value; j++) { s->decorr[i].samplesA[j] = wp_exp2(AV_RL16(buf)); buf += 2; - if (s->stereo_in) + if (s->stereo_in) { s->decorr[i].samplesB[j] = wp_exp2(AV_RL16(buf)); buf += 2; + } } t += s->decorr[i].value * 2 * (s->stereo_in + 1); } |