[vlc-devel] [vlc-commits] Add LIBAVUTIL_VERSION_CHECK (based on LIBAVCODEC_VERSION_CHECK)

Rémi Denis-Courmont remi at remlab.net
Fri Jan 25 10:31:25 CET 2013


Le vendredi 25 janvier 2013 08:11:13, Rafaël Carré a écrit :
> vlc | branch: master | Rafaël Carré <funman at videolan.org> | Fri Jan 25
> 07:08:11 2013 +0100| [a92d777d0b430070ebc6aff422aec622323a59bf] |
> committer: Rafaël Carré
> 
> Add LIBAVUTIL_VERSION_CHECK (based on LIBAVCODEC_VERSION_CHECK)

This cannot work.

When a libav feature is merged into FFmpeg, the FFmpeg version is *not* 
changed (since it is already incorrectly higher). Hence, there is no simple 
way to support FFmpeg versions with #ifdef, except for stuff that is only in 
FFmpeg and missing in libav.

FFmpeg versioning is just totally broken. When you set yourself up as a 
downstream, you have to use *separate* version numbers. Patching upstream's 
number cannot work.

-- 
Rémi Denis-Courmont
http://www.remlab.net/



More information about the vlc-devel mailing list