1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

mpeg1 bad frame_rate_base fix by (Arthur van Hoff (javanator))

Originally committed as revision 2012 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2003-07-04 23:08:16 +00:00
parent aef3c69d8d
commit e71ea8b251

View File

@ -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;
}