[MPlayer-users] Build problem on CentOS 5.5

Nicholas Maxwell nicholas.maxwell at gmail.com
Fri May 20 18:10:35 CEST 2011


hi,

after the folloing build attempt:

./configure --prefix=/users/MyUserName
make

I get the following compile error:

cc -MD -MP -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith
-Wredundant-decls -Werror-implicit-function-declaration
-Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization
-Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99  -O4
-march=k8 -mtune=k8 -pipe -ffast-math -fomit-frame-pointer
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
-Ilibdvdread4 -I. -Iffmpeg  -D_REENTRANT   -pthread
-I/usr/include/kde/artsc -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include   -I/usr/include/freetype2
-DFF_API_MAX_STREAMS=0 -c -o libmpcodecs/vd_ffmpeg.o
libmpcodecs/vd_ffmpeg.c
libmpcodecs/vd_ffmpeg.c: In function 'init':
libmpcodecs/vd_ffmpeg.c:425: warning: 'AVPaletteControl' is deprecated
libmpcodecs/vd_ffmpeg.c: In function 'get_buffer':
libmpcodecs/vd_ffmpeg.c:609: error: 'AVCodecContext' has no member
named 'hurry_up'
libmpcodecs/vd_ffmpeg.c:615: error: 'AVCodecContext' has no member
named 'hurry_up'
libmpcodecs/vd_ffmpeg.c: In function 'decode':
libmpcodecs/vd_ffmpeg.c:832: error: 'AVCodecContext' has no member
named 'hurry_up'
libmpcodecs/vd_ffmpeg.c:921: warning: return discards qualifiers from
pointer target type
make: *** [libmpcodecs/vd_ffmpeg.o] Error 1

according to:

http://cekirdek.pardus.org.tr/~ismail/ffmpeg-docs/structAVCodecContext.html#2d5a839c935885305847cc0d4bc72f9e

the AVCodecContext::hurry_up member is deprecated in ffmpeg. Should I
use an older version of ffmpeg?

thanks for any help,
-nick


More information about the MPlayer-users mailing list