diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-10-21 17:34:45 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-10-21 18:05:22 +0200 |
commit | 4ce9312d76176c9be82d70856672651ed46b01a5 (patch) | |
tree | 7bc03fb3584ad013e8cbe3f04bf95813303c5d0c | |
parent | 38797dc31b65b7cab911a800dc974ed9d1d6a6cf (diff) | |
download | ffmpeg-4ce9312d76176c9be82d70856672651ed46b01a5.tar.gz |
libavcodec/cook: add {} to complex ifs
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/cook.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/cook.c b/libavcodec/cook.c index b4d1a37ca1..ac2d502a7a 100644 --- a/libavcodec/cook.c +++ b/libavcodec/cook.c @@ -953,7 +953,7 @@ static int decode_subpacket(COOKContext *q, COOKSubpacket *p, p->mono_previous_buffer1, outbuffer ? outbuffer[p->ch_idx] : NULL); - if (p->num_channels == 2) + if (p->num_channels == 2) { if (p->joint_stereo) mlt_compensate_output(q, q->decode_buffer_2, &p->gains1, p->mono_previous_buffer2, @@ -962,6 +962,7 @@ static int decode_subpacket(COOKContext *q, COOKSubpacket *p, mlt_compensate_output(q, q->decode_buffer_2, &p->gains2, p->mono_previous_buffer2, outbuffer ? outbuffer[p->ch_idx + 1] : NULL); + } return 0; } |