GNOME Bugzilla – Bug 758482
gegl 0.3.2 make failure: 'AV_CODEC_FLAG2_FAST' undeclared
Last modified: 2015-11-22 20:03:16 UTC
make failed on 64-bit Linux Mint Debian... ff-load.c: In function 'prepare': ff-load.c:468:40: error: 'AV_CODEC_FLAG2_FAST' undeclared (first use in this function) p->video_stream->codec->flags2 = AV_CODEC_FLAG2_FAST; ^ ff-load.c:468:40: note: each undeclared identifier is reported only once for each function it appears in Makefile:1172: recipe for target 'ff_load_la-ff-load.lo' failed Searching the source tree revealed no other reference to AV_CODEC_FLAG2_FAST: john@haystack ~/src/gegl-0.3.2 $ grep -r "AV_CODEC_FLAG2_FAST" * operations/external/ff-load.c.h:" p->video_stream->codec->flags2 = AV_CODEC_FLAG2_FAST; \n" operations/external/ff-load.c: p->video_stream->codec->flags2 = AV_CODEC_FLAG2_FAST; Anyone else encounter this?
It wouldn't be defined elsewhere in GEGL it should come from ffmpeg. You could try simply removing this line, what version of ffmpeg are you using the following command should output it: $ pkg-config libavcodec --modversion
Better be conservative with fine tuning of the ffmpeg codecs though; and tend towards more public/stable APIs. Assuming that is the only undeclared thing this commit pushed to master should make it build. commit c2019ca59457bb71784c663a079a3b12a865f334 Author: Øyvind Kolås <pippin@gimp.org> Date: Sun Nov 22 20:56:20 2015 +0100 ff-load: be more conservative with setting special optimization flags