work with latest svn of x264
authorMåns Rullgård <mans@mansr.com>
Sat, 14 May 2005 21:02:49 +0000 (21:02 +0000)
committerMåns Rullgård <mans@mansr.com>
Sat, 14 May 2005 21:02:49 +0000 (21:02 +0000)
Originally committed as revision 4244 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/x264.c

index c04a2e6..0f84139 100644 (file)
@@ -133,7 +133,7 @@ X264_init(AVCodecContext *avctx)
 
     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;