diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2003-07-04 23:08:16 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2003-07-04 23:08:16 +0000 |
commit | e71ea8b251463fb636d5dc15a53cef808d2c6768 (patch) | |
tree | a5ce0d008a652f8c4f050c45164a1aa81502011c | |
parent | aef3c69d8dffae02792c03c59e8127c5fb8a3f77 (diff) | |
download | ffmpeg-e71ea8b251463fb636d5dc15a53cef808d2c6768.tar.gz |
mpeg1 bad frame_rate_base fix by (Arthur van Hoff (javanator))
Originally committed as revision 2012 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index 460fb22d39..764ae8d862 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -618,7 +618,7 @@ int av_find_stream_info(AVFormatContext *ic) &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; } |