Revision 56edbd81

View differences:

libavcodec/h264.c
3033 3033

  
3034 3034
    s->obmc_scratchpad = NULL;
3035 3035

  
3036
    if(!h->dequant4_coeff[0])
3037
        init_dequant_tables(h);
3038

  
3036 3039
    return 0;
3037 3040
fail:
3038 3041
    free_tables(h);
......
3051 3054
    h->dequant_coeff_pps= -1;
3052 3055
    s->unrestricted_mv=1;
3053 3056
    s->decode=1; //FIXME
3057

  
3058
    memset(h->pps.scaling_matrix4, 16, 6*16*sizeof(uint8_t));
3059
    memset(h->pps.scaling_matrix8, 16, 2*64*sizeof(uint8_t));
3054 3060
}
3055 3061

  
3056 3062
static int decode_init(AVCodecContext *avctx){

Also available in: Unified diff