screenshot.c: In function 'destroy_ctx': screenshot.c:60:5: warning: 'avcodec_free_frame' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3139) [-Wdeprecated-declarations] screenshot.c: In function 'screenshot_get_ctx': screenshot.c:72:9: warning: 'avcodec_alloc_frame' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3114) [-Wdeprecated-declarations] screenshot.c: In function 'write_png': screenshot.c:113:5: warning: 'avcodec_get_frame_defaults' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3124) [-Wdeprecated-declarations] screenshot.c:118:5: error: implicit declaration of function 'avcodec_encode_video' [-Werror=implicit-function-declaration] cc1: some warnings being treated as errors make: *** [screenshot.o] Error 1 make: *** Waiting for unfinished jobs.... mplayer.c: In function 'main': mplayer.c:4421:1: warning: label 'goto_enable_cache' defined but not used [-Wunused-label] mplayer.c: In function 'parse_cfgfiles': mplayer.c:848:22: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] mplayer.c: In function 'run_playloop': mplayer.c:3470:23: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result]
Created attachment 380612 [details, diff] patch from debian http://sources.debian.net/src/mplayer2/2.0-728-g2c378c7-2/debian/patches/ftbfs-libav10.patch mplayer2 (2.0-728-g2c378c7-1) experimental; urgency=low * New upstream version * Add patch to fix FTBFS against libav10 (Closes: #739337) * Compile against libav10 -- Reinhard Tartler <siretart@tauware.de> Sat, 08 Mar 2014 19:20:06 -0500
mplayer2-2.0_p20131009 builds and works fine for me with attached patch, please commit.
+ 13 Jul 2014; Tom Wijsman <TomWij@gentoo.org> + +files/mplayer2-2.0_p20131009_support_libav10.patch, + mplayer2-2.0_p20131009.ebuild: + Added patch from Debian by Reinhard Tartler (siretart) to support Libav 10; + fixes bug #509298, proxied commit for Nikoli. Thank you very much for your contribution.