Revision 2ca71015

View differences:

libavcodec/h264.c
2106 2106
    h->pred16x16[DC_128_PRED8x8 ]= pred16x16_128_dc_c;
2107 2107
}
2108 2108

  
2109
//FIXME factorize
2110
#define CHECKED_ALLOCZ(p, size)\
2111
{\
2112
    p= av_mallocz(size);\
2113
    if(p==NULL){\
2114
        perror("malloc");\
2115
        goto fail;\
2116
    }\
2117
}
2118

  
2119 2109
static void free_tables(H264Context *h){
2120 2110
    av_freep(&h->intra4x4_pred_mode);
2121 2111
    av_freep(&h->non_zero_count);

Also available in: Unified diff