Commit 53756443 authored by Michael Niedermayer's avatar Michael Niedermayer

1/0l fix

Originally committed as revision 3770 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent b3506cb4
...@@ -1854,7 +1854,7 @@ int av_find_stream_info(AVFormatContext *ic) ...@@ -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); 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= int_fps;
st->r_frame_rate_base= 1; st->r_frame_rate_base= 1;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment