Hi again, I assumed the difference has been introduced in version 57
so I did some #if LIBAVCODEC_VERSION_MAJOR > 56 in the code, and stuff seems to be building correctly. thanks for the bug report, I'll upload on unstable when convenient (assuming there is no hurry) cheers, and thanks again G. Il Martedì 3 Novembre 2015 10:48, Gianfranco Costamagna <[email protected]> ha scritto: Hi Andreas, unfortunately I can't apply the patch as-is because it will break backports. Do you know an easy way to #ifdef the patch to make it work on older ffmpeg/libav implementations? I tried to look at FFMPEG_VERSION and LIBAVCODEC_VERSION, but I'm not sure how to apply the code. here a failing build log https://travis-ci.org/hedgewars/hw/builds/88969186 thanks! G. Il Lunedì 2 Novembre 2015 22:11, Andreas Cadhalpun <[email protected]> ha scritto: Package: hedgewars Version: 0.9.22-dfsg-1 Severity: important Tags: patch User: [email protected] Usertags: ffmpeg2.9 Dear Maintainer, your package fails to build with the upcoming ffmpeg 2.9. This bug will become release-critical at some point when the ffmpeg2.9 transition gets closer. Attached is a patch replacing the deprecated functionality. It also works with ffmpeg 2.8. Please apply this patch and forward it upstream, if necessary. These changes have little regression potential. Best regards, Andreas

