[x264-devel] x264 doesn't compile with libavcodec/format.53
vmrsss
vmrsss at gmail.com
Mon Apr 25 17:29:23 CEST 2011
Hi there,
Apparently, ffmpeg has recently bumped the version of libavcodec and libavformat to 53, and x264 does not compile any longer (at least on my architecture) due to changes in /usr/local/include/avcodec.h which undefined CODEC_TYPE_VIDEO
> gcc -Wshadow -O3 -ffast-math -arch x86_64 -march=core2 -msse4 -O2 -pipe -Wall -I. -falign-loops=16 -mdynamic-no-pic -arch x86_64 -std=gnu99 -I/usr/local/include -I/usr/local/include -fPIC -s -fomit-frame-pointer -fno-tree-vectorize -c -o input/lavf.o input/lavf.c
> input/lavf.c: In function 'open_file':
> input/lavf.c:161: error: 'CODEC_TYPE_VIDEO' undeclared (first use in this function)
> input/lavf.c:161: error: (Each undeclared identifier is reported only once
> input/lavf.c:161: error: for each function it appears in.)
> make: *** [input/lavf.o] Error 1
I couldn't see an obvious fix of this, are developers aware of this issue?
Thanks a lot.
More information about the x264-devel
mailing list