Bug#803866: vcmi: FTBFS with FFmpeg 2.9
Andreas Cadhalpun
andreas.cadhalpun at googlemail.com
Thu Nov 5 11:22:36 UTC 2015
Hi Johannes,
On 05.11.2015 11:30, Johannes Schauer wrote:
> many thanks for the patch!
>
> I already forwarded this upstream as https://github.com/vcmi/vcmi/pull/135
Thanks.
> The problem is, that the developers are still using libav*53 4:0.8.17 in their
> CI framework.
I see, Ubuntu LTS...
> Is there a clever preprocessor check that will use the right
> construct even with old libav?
Yes, you can use:
* for AVPixelFormat, AV_PIX_FMT_*:
#if LIBAVUTIL_VERSION_MAJOR > 51
* for av_frame_alloc/av_frame_free:
#if LIBAVUTIL_VERSION_MAJOR > 52
Best regards,
Andreas
More information about the Pkg-games-devel
mailing list