]> git.sesse.net Git - mlt/commit
Increase libavutil version required to use PIX_FMT_YUVA444P.
authorBrian Matherly <pez4brian@yahoo.com>
Tue, 14 Aug 2012 04:10:55 +0000 (23:10 -0500)
committerBrian Matherly <pez4brian@yahoo.com>
Tue, 14 Aug 2012 04:10:55 +0000 (23:10 -0500)
commit064bb789d7bc0778d7324279460f63c9da84ec4a
treec696eefbdcfa041ec8802307c7da286523286f68
parent98bb7d4fff7fb6ecb424c13519b8ec7e36448244
Increase libavutil version required to use PIX_FMT_YUVA444P.

PIX_FMT_YUVA444P was added to ffmpeg in version 51.35.101 - and so the precompiler check was correctly set to that version. However, it has not yet been added to libav. And libav recently increased the libavutil version to 51.38.0. This causes a compilation error against libav master because the precompiler check passes, but PIX_FMT_YUVA444P is not defined.

The current libavutil versions are:
 * ffmpeg master: 51.69.100
 * ffmpeg 0.11:   51.54.100
 * libav  master: 51.38.0

This commit sets the precompiler to check against version 51.54.0. This will allow PIX_FMT_YUVA444P to be used when compiled against both ffmpeg master and ffmpeg 0.11 - while avoiding errors when compiling against libav master. However, if libav keeps incrementing the version without adding PIX_FMT_YUVA444P, this number may have to be increased again in the future.
src/modules/avformat/producer_avformat.c