changeset 2682:dfa4d2773d13 libavcodec

work with latest svn of x264
author mru
date Sat, 14 May 2005 21:02:49 +0000
parents 663dca3aa1d9
children 7d86ebbccecf
files x264.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/x264.c	Sat May 14 15:34:49 2005 +0000
+++ b/x264.c	Sat May 14 21:02:49 2005 +0000
@@ -133,7 +133,7 @@
 
     x4->params.i_keyint_max = avctx->gop_size;
     x4->params.rc.i_bitrate = avctx->bit_rate / 1000;
-    x4->params.rc.i_rc_buffer_size = avctx->rc_buffer_size / 1000;
+    x4->params.rc.i_vbv_buffer_size = avctx->rc_buffer_size / 1000;
     if(avctx->rc_buffer_size)
         x4->params.rc.b_cbr = 1;
     x4->params.i_bframe = avctx->max_b_frames;