changeset 11345:0fd8dca684c7 libavcodec

cosmetic addition of {}
author michael
date Wed, 03 Mar 2010 19:32:50 +0000
parents 65fe07cf9ee4
children a8b76b8455bc
files h264.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/h264.c	Wed Mar 03 19:31:58 2010 +0000
+++ b/h264.c	Wed Mar 03 19:32:50 2010 +0000
@@ -2004,9 +2004,9 @@
     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;