From 932f396f50fbabd9a13ec9341638c56b6667d905 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 21 Jul 2008 18:26:11 +0000 Subject: [PATCH] Remove superfluous (). Originally committed as revision 14324 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/h264.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/h264.c b/libavcodec/h264.c index 30c875728a..f40e1ad53d 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -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)