diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2004-12-22 01:33:04 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2004-12-22 01:33:04 +0000 |
commit | 5375644323cfda3f997f7d8512dddaa88c34db01 (patch) | |
tree | c32b9bb289739e3c2461f6c78cd539c5a85847ce | |
parent | b3506cb42f82534161cde8ca813eb55aa2a7df35 (diff) | |
download | ffmpeg-5375644323cfda3f997f7d8512dddaa88c34db01.tar.gz |
1/0l fix
Originally committed as revision 3770 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 6bc2c002a4..230f891ab5 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -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; } |