summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2010-03-03 19:32:50 +0000
committerMichael Niedermayer <michaelni@gmx.at>2010-03-03 19:32:50 +0000
commit1a29c6a0bb92e3765a05f8c6e67c534b719d97d4 (patch)
tree33bb076adf5a76b81c730017d42505a9dab5794e /libavcodec
parentaf2b0df40f07ee71e6c6defc5c2e0b4f343b2fd0 (diff)
cosmetic addition of {}
Originally committed as revision 22178 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/h264.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index 8ead923a1b..08ffe3a161 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -2004,9 +2004,9 @@ static int decode_slice_header(H264Context *h, H264Context *h0){
if( (h->pps.weighted_pred && h->slice_type_nos == FF_P_TYPE )
|| (h->pps.weighted_bipred_idc==1 && h->slice_type_nos== FF_B_TYPE ) )
pred_weight_table(h);
- else if(h->pps.weighted_bipred_idc==2 && h->slice_type_nos== FF_B_TYPE)
+ else if(h->pps.weighted_bipred_idc==2 && h->slice_type_nos== FF_B_TYPE){
implicit_weight_table(h);
- else {
+ }else {
h->use_weight = 0;
for (i = 0; i < 2; i++) {
h->luma_weight_flag[i] = 0;