--- modules/codec/x264.c.orig	2009-07-27 16:50:40.000000000 -0500
+++ modules/codec/x264.c	2011-11-18 21:28:06.000000000 -0600
@@ -948,7 +948,7 @@
 
 #if X264_BUILD >= 22
     var_Get( p_enc, SOUT_CFG_PREFIX "bpyramid", &val );
-    p_sys->param.b_bframe_pyramid = val.b_bool;
+    p_sys->param.i_bframe_pyramid = val.b_bool;
 #endif
 
     var_Get( p_enc, SOUT_CFG_PREFIX "ref", &val );
