Mercurial > libavcodec.hg
comparison h264.c @ 3063:f02d0b59279c libavcodec
Remove all stray tabs and trailing whitespace, this time for good.
author | diego |
---|---|
date | Tue, 24 Jan 2006 10:33:14 +0000 |
parents | 6c3f87300378 |
children | 04b924f8f5a5 |
comparison
equal
deleted
inserted
replaced
3062:8d05d4036b6a | 3063:f02d0b59279c |
---|---|
4308 if(!s->avctx->sample_aspect_ratio.den) | 4308 if(!s->avctx->sample_aspect_ratio.den) |
4309 s->avctx->sample_aspect_ratio.den = 1; | 4309 s->avctx->sample_aspect_ratio.den = 1; |
4310 | 4310 |
4311 if(h->sps.timing_info_present_flag){ | 4311 if(h->sps.timing_info_present_flag){ |
4312 s->avctx->time_base= (AVRational){h->sps.num_units_in_tick * 2, h->sps.time_scale}; | 4312 s->avctx->time_base= (AVRational){h->sps.num_units_in_tick * 2, h->sps.time_scale}; |
4313 if(h->x264_build > 0 && h->x264_build < 44) | 4313 if(h->x264_build > 0 && h->x264_build < 44) |
4314 s->avctx->time_base.den *= 2; | 4314 s->avctx->time_base.den *= 2; |
4315 av_reduce(&s->avctx->time_base.num, &s->avctx->time_base.den, | 4315 av_reduce(&s->avctx->time_base.num, &s->avctx->time_base.den, |
4316 s->avctx->time_base.num, s->avctx->time_base.den, 1<<30); | 4316 s->avctx->time_base.num, s->avctx->time_base.den, 1<<30); |
4317 } | 4317 } |
4318 } | 4318 } |
4319 | 4319 |
4320 if(h->slice_num == 0){ | 4320 if(h->slice_num == 0){ |
4321 if(frame_start(h) < 0) | 4321 if(frame_start(h) < 0) |