changeset 5309:2ce4e031f47a

XorA found a bug in the avcodec code
author mswitch
date Sun, 24 Mar 2002 15:33:12 +0000
parents 69e55c9c1a1a
children 1aaba2495aac
files libvo/vo_dxr3.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_dxr3.c	Sun Mar 24 15:18:38 2002 +0000
+++ b/libvo/vo_dxr3.c	Sun Mar 24 15:33:12 2002 +0000
@@ -354,7 +354,7 @@
 		} 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;