1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-03-28 12:32:17 +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,
&st->r_frame_rate_base, &st->r_frame_rate_base,
(int64_t)st->codec.frame_rate * st->codec_info_nb_real_frames, (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); 1<<30);
goto close_codec; goto close_codec;
} }