Created attachment 376176 [details] build.log video.c: In function 'flush': video.c:1616:7: warning: variable 'result' set but not used [-Wunused-but-set-variable] video.c: In function 'quicktime_init_video_codec_ffmpeg': video.c:1906:23: error: 'CODEC_ID_MPEG4' undeclared (first use in this function) video.c:1912:28: error: 'CODEC_ID_MPEG2VIDEO' undeclared (first use in this function) video.c:1917:28: error: 'CODEC_ID_DVVIDEO' undeclared (first use in this function) video.c:1925:23: error: 'CODEC_ID_H264' undeclared (first use in this function) video.c: In function 'lqt_ffmpeg_encode_video': video.c:1435:14: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] make[3]: *** [lqt_ffmpeg.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: *** [video.lo] Error 1 audio.c: In function 'decode_chunk': audio.c:634:35: error: 'CODEC_ID_MP3' undeclared (first use in this function) audio.c:634:35: note: each undeclared identifier is reported only once for each function it appears in audio.c: In function 'init_compression_info': audio.c:874:29: error: 'CODEC_ID_MP2' undeclared (first use in this function) audio.c:875:29: error: 'CODEC_ID_MP3' undeclared (first use in this function) audio.c:917:33: error: 'CODEC_ID_AC3' undeclared (first use in this function) audio.c: In function 'lqt_ffmpeg_decode_audio': audio.c:994:30: error: 'CODEC_ID_ALAC' undeclared (first use in this function) audio.c:1003:30: error: 'CODEC_ID_QDM2' undeclared (first use in this function) audio.c: In function 'lqt_ffmpeg_encode_audio': audio.c:1269:5: warning: 'avcodec_get_frame_defaults' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3124) [-Wdeprecated-declarations] audio.c: In function 'quicktime_init_audio_codec_ffmpeg': audio.c:1503:22: error: 'CODEC_ID_MP3' undeclared (first use in this function) audio.c:1503:55: error: 'CODEC_ID_MP2' undeclared (first use in this function) audio.c:1505:26: error: 'CODEC_ID_AC3' undeclared (first use in this function) params.c: In function 'lqt_ffmpeg_set_parameter': params.c:197:7: warning: variable 'found' set but not used [-Wunused-but-set-variable] make[3]: *** [audio.lo] Error 1
Created attachment 380520 [details, diff] libquicktime-1.2.4-libav10.patch This fixed the build for me. I took it from Debian and adapted it to Gentoo.
Link to original debian patch: http://sources.debian.net/src/libquicktime/2:1.2.4-6/debian/patches/libav10.patch Is something blocking it? If not, please commit.
Could you please try it with media-video/libav-11 as well?
Yes, also fixes build with libav-11
+ 18 Jan 2015; Ian Whyman <thev00d00@gentoo.org> libquicktime-1.2.4-r1.ebuild: + Extend ffmpeg sed to a couple more files, fixes #509300