Revision eed4ebd2 libavcodec/h264.c

View differences:

libavcodec/h264.c
3469 3469
        s->avctx->width = s->width;
3470 3470
        s->avctx->height = s->height;
3471 3471
        s->avctx->sample_aspect_ratio= h->sps.sar;
3472
        if(!s->avctx->sample_aspect_ratio.den)
3473
            s->avctx->sample_aspect_ratio.den = 1;
3472 3474

  
3473 3475
        if(h->sps.timing_info_present_flag && h->sps.fixed_frame_rate_flag){
3474 3476
            s->avctx->frame_rate = h->sps.time_scale;

Also available in: Unified diff