Revision 3a756169 libavcodec/h264.c

View differences:

libavcodec/h264.c
7430 7430
    }
7431 7431

  
7432 7432
    build_qp_table(pps, 0, pps->chroma_qp_index_offset[0]);
7433
    if(pps->chroma_qp_index_offset[0] != pps->chroma_qp_index_offset[1]) {
7434
        build_qp_table(pps, 1, pps->chroma_qp_index_offset[1]);
7433
    build_qp_table(pps, 1, pps->chroma_qp_index_offset[1]);
7434
    if(pps->chroma_qp_index_offset[0] != pps->chroma_qp_index_offset[1])
7435 7435
        h->pps.chroma_qp_diff= 1;
7436
    } else
7437
        memcpy(pps->chroma_qp_table[1], pps->chroma_qp_table[0], 256);
7438 7436

  
7439 7437
    if(s->avctx->debug&FF_DEBUG_PICT_INFO){
7440 7438
        av_log(h->s.avctx, AV_LOG_DEBUG, "pps:%u sps:%u %s slice_groups:%d ref:%d/%d %s qp:%d/%d/%d/%d %s %s %s %s\n",

Also available in: Unified diff