Revision 1a29c6a0

View differences:

libavcodec/h264.c
2004 2004
    if(   (h->pps.weighted_pred          && h->slice_type_nos == FF_P_TYPE )
2005 2005
       ||  (h->pps.weighted_bipred_idc==1 && h->slice_type_nos== FF_B_TYPE ) )
2006 2006
        pred_weight_table(h);
2007
    else if(h->pps.weighted_bipred_idc==2 && h->slice_type_nos== FF_B_TYPE)
2007
    else if(h->pps.weighted_bipred_idc==2 && h->slice_type_nos== FF_B_TYPE){
2008 2008
        implicit_weight_table(h);
2009
    else {
2009
    }else {
2010 2010
        h->use_weight = 0;
2011 2011
        for (i = 0; i < 2; i++) {
2012 2012
            h->luma_weight_flag[i]   = 0;

Also available in: Unified diff