Originally committed as revision 3770 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2004-12-22 01:33:04 +00:00
parent b3506cb42f
commit 5375644323
1 changed files with 1 additions and 1 deletions

View File

@ -1854,7 +1854,7 @@ int av_find_stream_info(AVFormatContext *ic)
int_fps= av_rescale(st->r_frame_rate, 1, st->r_frame_rate_base);
if(av_rescale(st->r_frame_rate, 1, int_fps) == st->r_frame_rate_base){
if(int_fps>0 && av_rescale(st->r_frame_rate, 1, int_fps) == st->r_frame_rate_base){
st->r_frame_rate= int_fps;
st->r_frame_rate_base= 1;
}