git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11370 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
michael 2003-11-03 02:42:39 +00:00
parent f3744ed25c
commit 0ab6710b79
1 changed files with 1 additions and 1 deletions

View File

@ -466,7 +466,7 @@ static int config(struct vf_instance_s* vf,
}
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