Revision 758082af

View differences:

libavcodec/h264.c
3847 3847
        if(!s->avctx->sample_aspect_ratio.den)
3848 3848
            s->avctx->sample_aspect_ratio.den = 1;
3849 3849

  
3850
        if(h->sps.timing_info_present_flag && h->sps.fixed_frame_rate_flag){
3850
        if(h->sps.timing_info_present_flag){
3851 3851
            s->avctx->time_base= (AVRational){h->sps.num_units_in_tick, h->sps.time_scale};
3852 3852
        }
3853 3853
    }

Also available in: Unified diff