Revision 7f8c11b0

View differences:

libavcodec/h264_cabac.c
1373 1373
            pred_mode= ff_h264_check_intra_pred_mode( h, pred_mode );
1374 1374
            if( pred_mode < 0 ) return -1;
1375 1375
            h->chroma_pred_mode= pred_mode;
1376
        } else {
1377
            h->chroma_pred_mode= DC_128_PRED8x8;
1376 1378
        }
1377 1379
    } else if( partition_count == 4 ) {
1378 1380
        int i, j, sub_partition_count[4], list, ref[2][4];
libavcodec/h264_cavlc.c
665 665
            if(pred_mode < 0)
666 666
                return -1;
667 667
            h->chroma_pred_mode= pred_mode;
668
        } else {
669
            h->chroma_pred_mode = DC_128_PRED8x8;
668 670
        }
669 671
    }else if(partition_count==4){
670 672
        int i, j, sub_partition_count[4], list, ref[2][4];

Also available in: Unified diff