Mercurial > libavformat.hg
changeset 162:35386fc4d47d libavformat
mpeg1 bad frame_rate_base fix by (Arthur van Hoff (javanator))
author | michaelni |
---|---|
date | Fri, 04 Jul 2003 23:08:16 +0000 |
parents | e01949598794 |
children | 470456bd0065 |
files | utils.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/utils.c Fri Jul 04 09:14:14 2003 +0000 +++ b/utils.c Fri Jul 04 23:08:16 2003 +0000 @@ -618,7 +618,7 @@ &st->r_frame_rate, &st->r_frame_rate_base, (int64_t)st->codec.frame_rate * st->codec_info_nb_real_frames, - st->codec_info_nb_real_frames + (st->codec_info_nb_repeat_frames >> 1), + (st->codec_info_nb_real_frames + (st->codec_info_nb_repeat_frames >> 1)) * st->codec.frame_rate_base, 1<<30); goto close_codec; }