]> git.sesse.net Git - ffmpeg/commitdiff
Remove superfluous ().
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 21 Jul 2008 18:26:11 +0000 (18:26 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 21 Jul 2008 18:26:11 +0000 (18:26 +0000)
Originally committed as revision 14324 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/h264.c

index 30c875728abfc1cd945288954c31bb41b1fefc8c..f40e1ad53d08fc48d5da8d96787332355607d20c 100644 (file)
@@ -4147,7 +4147,7 @@ static int decode_slice_header(H264Context *h, H264Context *h0){
     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)