gcc -I"/root/myth-tars/ffmpeg"/libswscale -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I"/root/myth-tars/ffmpeg" -I"/root/myth-tars/ffmpeg" -I"/root/myth-tars/ffmpeg"/libavutil -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -O3 -c -o x264.o x264.c
In file included from x264.c:22:
avcodec.h:2428: warning: ImgReSampleContext is deprecated
avcodec.h:2431: warning: ImgReSampleContext is deprecated
x264.c: In function X264_init:
x264.c:151: error: struct <anonymous> has no member named i_rc_method
x264.c:151: error: X264_RC_CRF undeclared (first use in this function)
x264.c:151: error: (Each undeclared identifier is reported only once
x264.c:151: error: for each function it appears in.)
x264.c:152: error: struct <anonymous> has no member named f_rf_constant
x264.c:154: error: struct <anonymous> has no member named i_rc_method
x264.c:154: error: X264_RC_CQP undeclared (first use in this function)
x264.c:161: error: struct <anonymous> has no member named i_rc_method
x264.c:161: error: X264_RC_ABR undeclared (first use in this function)
make[1]: *** [x264.o] Error 1
make[1]: Leaving directory `/root/myth-tars/ffmpeg/libavcodec'
make: *** [lib] Error 2