From eb89d8effe81695fc8524bf0f2bca54fcd27eb27 Mon Sep 17 00:00:00 2001 From: mswitch Date: Sun, 24 Mar 2002 15:33:12 +0000 Subject: [PATCH] XorA found a bug in the avcodec code git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5310 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_dxr3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libvo/vo_dxr3.c b/libvo/vo_dxr3.c index 517b88c64d..548d20559a 100644 --- a/libvo/vo_dxr3.c +++ b/libvo/vo_dxr3.c @@ -354,7 +354,7 @@ static uint32_t config(uint32_t width, uint32_t height, uint32_t d_width, uint32 } else { avc_context->gop_size = 15; } - avc_context->frame_rate = (int) vo_fps * FRAME_RATE_BASE; + avc_context->frame_rate = (int) (vo_fps * FRAME_RATE_BASE); avc_context->bit_rate = 6e6; avc_context->flags = CODEC_FLAG_HQ | CODEC_FLAG_QSCALE; avc_context->quality = 2;