[x264-devel] x264 doesn't compile with libavcodec/format.53

BugMaster BugMaster at narod.ru
Mon Apr 25 17:35:41 CEST 2011


On Mon, 25 Apr 2011 16:29:23 +0100, vmrsss wrote:
> 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.

Hi. It would be fixed with next commitfest. You can look at current
patch here: https://github.com/DarkShikari/x264-devel/commit/94ccd5d7f6eb7fff9c08701baa48e7fcceca1460



More information about the x264-devel mailing list