changeset 11369:a4b6fdc76fe5

10l
author michael
date Mon, 03 Nov 2003 02:42:39 +0000
parents 7fb6dbfbc7da
children 80969afd4a0c
files libmpcodecs/ve_lavc.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/ve_lavc.c	Mon Nov 03 02:19:57 2003 +0000
+++ b/libmpcodecs/ve_lavc.c	Mon Nov 03 02:42:39 2003 +0000
@@ -466,7 +466,7 @@
     }
     else if (lavc_param_autoaspect)
 #if LIBAVCODEC_BUILD >= 4687
-	lavc_venc_context->sample_aspect_ratio = av_d2q((float)d_width/d_height*height / width, 30000);
+	lavc_venc_context->sample_aspect_ratio = av_d2q((float)d_width/d_height*height / width, 255);
 #else
 	lavc_venc_context->aspect_ratio = (float)d_width/d_height;
 #endif