# HG changeset patch # User michael # Date 1103679184 0 # Node ID 4a35651e6cc8815bbfbed56a5ec9bba1e878c2a4 # Parent 4add6a5abe3e27306c7004bc1c2730fe9678be69 1/0l fix diff -r 4add6a5abe3e -r 4a35651e6cc8 utils.c --- a/utils.c Tue Dec 21 02:27:40 2004 +0000 +++ b/utils.c Wed Dec 22 01:33:04 2004 +0000 @@ -1854,7 +1854,7 @@ 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; }