Mercurial > libavformat.hg
changeset 1611:cab8434bfeab libavformat
revert regression test breaking change
author | michael |
---|---|
date | Mon, 01 Jan 2007 21:17:14 +0000 |
parents | cde17266ad08 |
children | a6eaa0762191 |
files | utils.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/utils.c Mon Jan 01 05:32:27 2007 +0000 +++ b/utils.c Mon Jan 01 21:17:14 2007 +0000 @@ -1960,7 +1960,7 @@ if(st->codec->codec_id == CODEC_ID_RAWVIDEO && !st->codec->codec_tag && !st->codec->bits_per_sample) st->codec->codec_tag= avcodec_pix_fmt_to_codec_tag(st->codec->pix_fmt); - if(duration_count[i]>1 + if(1 && (st->codec->time_base.num*101LL <= st->codec->time_base.den || st->codec->codec_id == CODEC_ID_MPEG2VIDEO) /*&& //FIXME we should not special case mpeg2, but this needs testing with non mpeg2 ... st->time_base.num*duration_sum[i]/duration_count[i]*101LL > st->time_base.den*/){