Revision 932f396f

View differences:

libavcodec/h264.c
4147 4147
    if(decode_ref_pic_list_reordering(h) < 0)
4148 4148
        return -1;
4149 4149

  
4150
    if(   (h->pps.weighted_pred          && (h->slice_type_nos == FF_P_TYPE ))
4150
    if(   (h->pps.weighted_pred          && h->slice_type_nos == FF_P_TYPE )
4151 4151
       || (h->pps.weighted_bipred_idc==1 && h->slice_type==FF_B_TYPE ) )
4152 4152
        pred_weight_table(h);
4153 4153
    else if(h->pps.weighted_bipred_idc==2 && h->slice_type==FF_B_TYPE)

Also available in: Unified diff