Hi Bret,

On 11.11.2015 09:04, bret curtis wrote:
> thanks for the revamped patch. I massaged it a bit to work upstream and 
> tested it, it works for me on Debian and Ubuntu.

Great!

> It does however break compatibility with older ffmpegs and other distros 
> which we need to support. Any way we can work around this?

You could use some ifdeffery, e.g. for AV_PIX_FMT_*:
#if LIBAVUTIL_VERSION_MAJOR > 51

The library/version to use can be found in ffmpeg's APIchanges [1].
Though, all of these changes should be compatible with any FFmpeg version since 
2.0,
and using older versions isn't really a good idea.

Best regards,
Andreas


1: https://anonscm.debian.org/cgit/pkg-multimedia/ffmpeg.git/tree/doc/APIchanges

Reply via email to