# HG changeset patch # User michael # Date 1216664771 0 # Node ID 7d5cc12d8fe2bcac3872b0be8ce19fbb15e8d5a0 # Parent b088035801d52e714b58bc1979044790d3d35524 Remove superfluous (). diff -r b088035801d5 -r 7d5cc12d8fe2 h264.c --- a/h264.c Mon Jul 21 18:24:45 2008 +0000 +++ b/h264.c Mon Jul 21 18:26:11 2008 +0000 @@ -4147,7 +4147,7 @@ if(decode_ref_pic_list_reordering(h) < 0) return -1; - if( (h->pps.weighted_pred && (h->slice_type_nos == FF_P_TYPE )) + if( (h->pps.weighted_pred && h->slice_type_nos == FF_P_TYPE ) || (h->pps.weighted_bipred_idc==1 && h->slice_type==FF_B_TYPE ) ) pred_weight_table(h); else if(h->pps.weighted_bipred_idc==2 && h->slice_type==FF_B_TYPE)