Bug#803825: hedgewars: FTBFS with FFmpeg 2.9

Gianfranco Costamagna costamagnagianfranco at yahoo.it
Wed Nov 4 14:13:26 UTC 2015


HI Andreas,
>

>This is documented in FFmpeg's APIchanges [1], also installed in ffmpeg-doc.


thanks, this will make my life easier in next ffmpeg changes!
>Unfortunately, you didn't copy this correctly...


damn, bad me :)
I thought the version was the same, they were just three defines pointing to the same
number (bad me that I didn't check that, and I remember that they are different when I install
the packages, one is 56, one 54 and one 53, bad me twice)
>You always used LIBAVCODEC_VERSION_MAJOR, while that should have been
>LIBAVUTIL_VERSION_MAJOR or LIBAVFORMAT_VERSION_MAJOR.


I fixed this, and now it is building correctly :)
>Yes, these changes are safe:
>* AVPixelFormat, AV_PIX_FMT_*:
>Only the names changed (due to being too generic before). The binary will be identical.
>* av_frame_alloc/av_frame_free:
>These functions are now in libavutil, while avcodec_alloc_frame/avcodec_free_frame
>were in libavcodec. Actually hedgewars used av_free to free the frames, which
>can leak memory, so using the correct free function is definitely an improvement.
>* for av_stream_get_end_pts:
>This is just a getter function for pts.val, which is made private, no functional change.



then I'll upload as soon as the previous one reach testing.

thanks again, for the great help, in the future I'm sure I'll be able to try to fix this mess
by myself (the first step is alwasy the biggest one)

cheers,

G.



More information about the Pkg-games-devel mailing list