Revision 650cec0c libavcodec/h264.c

View differences:

libavcodec/h264.c
203 203
    
204 204
    uint16_t *mb2b_xy; //FIXME are these 4 a good idea?
205 205
    uint16_t *mb2b8_xy;
206
    int b_stride;
206
    int b_stride; //FIXME use s->b4_stride
207 207
    int b8_stride;
208 208

  
209 209
    int halfpel_flag;
......
3035 3035
    s->mb_width= h->sps.mb_width;
3036 3036
    s->mb_height= h->sps.mb_height;
3037 3037
    
3038
    h->b_stride=  s->mb_width*4;
3039
    h->b8_stride= s->mb_width*2;
3038
    h->b_stride=  s->mb_width*4 + 1;
3039
    h->b8_stride= s->mb_width*2 + 1;
3040 3040

  
3041 3041
    s->resync_mb_x = s->mb_x = first_mb_in_slice % s->mb_width;
3042 3042
    s->resync_mb_y = s->mb_y = first_mb_in_slice / s->mb_width; //FIXME AFFW

Also available in: Unified diff