Revision 3bf43d42 libavcodec/mpegvideo.c

View differences:

libavcodec/mpegvideo.c
110 110
    int c_size, i;
111 111
    UINT8 *pict;
112 112

  
113
    if (s->out_format == FMT_H263) 
114
        s->dct_unquantize = dct_unquantize_h263_c;
115
    else
116
        s->dct_unquantize = dct_unquantize_mpeg1_c;
113
    s->dct_unquantize_h263 = dct_unquantize_h263_c;
114
    s->dct_unquantize_mpeg = dct_unquantize_mpeg1_c;
117 115
        
118 116
#ifdef HAVE_MMX
119 117
    MPV_common_init_mmx(s);
120 118
#endif
119
    //setup default unquantizers (mpeg4 might change it later)
120
    if(s->out_format == FMT_H263)
121
        s->dct_unquantize = s->dct_unquantize_h263;
122
    else
123
        s->dct_unquantize = s->dct_unquantize_mpeg;
124
    
121 125
    s->mb_width = (s->width + 15) / 16;
122 126
    s->mb_height = (s->height + 15) / 16;
123 127
    s->mb_num = s->mb_width * s->mb_height;

Also available in: Unified diff