[MPlayer-advusers] typo in r15948?
Hraban
hraban at 0brg.net
Sat Nov 29 06:46:34 CET 2008
An error during compilation (--disable-mplayer
--codecsdir=/blabla/essential-20071007 --prefix=/home/hraban
--disable-tv), looking at the /usr/include/x264.h file suggests the
following fix:
hraban at localhost ~/mplayer/libavcodec $ svn diff
Index: libx264.c
===================================================================
--- libx264.c (revision 15948)
+++ libx264.c (working copy)
@@ -164,7 +164,7 @@
x4->params.i_bframe = avctx->max_b_frames;
x4->params.b_cabac = avctx->coder_type == FF_CODER_TYPE_AC;
- x4->params.i_bframe_adaptive = avctx->b_frame_strategy;
+ x4->params.b_bframe_adaptive = avctx->b_frame_strategy;
x4->params.i_bframe_bias = avctx->bframebias;
x4->params.b_bframe_pyramid = avctx->flags2 & CODEC_FLAG2_BPYRAMID;
avctx->has_b_frames= avctx->flags2 & CODEC_FLAG2_BPYRAMID ? 2 :
!!avctx->max_b_frames;
Are my system headers out of date or is this a typo?
Mplayer compiles fine after applying this patch.
Greetings,
Hraban Luyat
More information about the MPlayer-advusers
mailing list