树莓派ffmpeg 安装问题
config文件是从网上下载下来的,make的时候出现了以下的问题:
(安装了x264)
libavformat/utils.c: In function ‘av_read_frame’:
libavformat/utils.c:1541:17: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
int64_t last_dts = next_pkt->dts;
^~~~~~~
AR libavformat/libavformat.a
CC libavcodec/libx264.o
libavcodec/libx264.c: In function ‘X264_frame’:
libavcodec/libx264.c:271:9: error: ‘x264_bit_depth’ undeclared (first use in this function)
if (x264_bit_depth > 8)
^~~~~~~~~~~~~~
libavcodec/libx264.c:271:9: note: each undeclared identifier is reported only once for each function it appears in
libavcodec/libx264.c: In function ‘X264_init_static’:
libavcodec/libx264.c:898:9: error: ‘x264_bit_depth’ undeclared (first use in this function)
if (x264_bit_depth == 8)
^~~~~~~~~~~~~~
common.mak:60: recipe for target 'libavcodec/libx264.o' failed
make: *** [libavcodec/libx264.o] Error 1