changeset 15843:77a5b8ef3314

restored framerate autodetection based on height
author nicodvb
date Tue, 28 Jun 2005 19:41:08 +0000
parents 57ba4b5a3d8e
children 398b436904f2
files libmpcodecs/vf_lavc.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vf_lavc.c	Tue Jun 28 13:29:49 2005 +0000
+++ b/libmpcodecs/vf_lavc.c	Tue Jun 28 19:41:08 2005 +0000
@@ -62,7 +62,7 @@
     lavc_venc_context.height = height;
     
 #if LIBAVCODEC_BUILD >= 4754
-    if(!lavc_venc_context.time_base.num){
+    if(!lavc_venc_context.time_base.num || !lavc_venc_context.time_base.den){
 #else
     if(!lavc_venc_context.frame_rate){
 #endif