[MPlayer-users] Build broken by a recent FFmpeg commit on Fedora 20 x86_64

Ilja Sekler ilja_sekler_ at gmx.de
Thu Oct 2 20:54:03 CEST 2014


Hello,

an attempt to build MPlayer on Fedora 20 x86_64 with x264-{libs,devel}
from rpmfusion.org fails currently with

libavcodec/libx264.c: In function 'X264_init':
libavcodec/libx264.c:536:19: error: 'x264_param_t' has no member named 
'i_avcintra_class'
          x4->params.i_avcintra_class = x4->avcintra_class;
                    ^
libavcodec/libx264.c:653:32: warning: the address of 'val' will always 
evaluate as 'true' [-Waddress]
                  OPT_STR(param, val);
                                 ^
libavcodec/libx264.c:321:13: note: in definition of macro 'OPT_STR'
          if (param && (ret = x264_param_parse(&x4->params, opt, param)) 
< 0) { \
              ^
make[1]: *** [libavcodec/libx264.o] Error 1
make[1]: cc -MMD -MP -Wundef -Wall -Wno-switch -Wno-parentheses 
-Wpointer-arith -Wredundant-decls -Wstrict-prototypes 
-Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign 
-Wdeclaration-after-statement -std=gnu99 
-Werror-implicit-function-declaration -D_POSIX_C_SOURCE=200112 
-D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -O4 -march=native 
-mtune=native -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE 
-Ilibdvdread4  -fpie -DPIC -D_REENTRANT -I/usr/include/   -D_REENTRANT 
-I/usr/include/freetype2 -DZLIB_CONST -I/usr/include/bs2b  -c -o 
libmpcodecs/ve_x264.o libmpcodecs/ve_x264.c

Reverting
http://git.videolan.org/?p=ffmpeg.git;a=commitdiff;h=0a7afedc4819167a50516a4402a4638c7439df6e
allows the MPlayer build to succeed.

MPlayer r37291
FFmpeg at a9b10e1510ddfcae5119e616e0cc60350c99467c
gcc-4.8.3-7.fc20.x86_64
x264-devel-0.138-2.20131030gitc628e3b.fc20.x86_64

Thanks,

-- 
Regards

Ilja


More information about the MPlayer-users mailing list