[Bf-committers] Final FFMPEG compatibility fix (hopefully)

Dalai Felinto dfelinto at gmail.com
Sat May 28 02:08:12 CEST 2011


Thanks Peter, it all working now (windows 32 and 64).

2011/5/27 Peter Schlaile <peter at schlaile.de>

> Hi,
>
> just have commited the final compatibility fix for ffmpeg using a seperate
> header file that handles all the version cruft. (located in
> intern/ffmpeg/ffmpeg_compat.h )
>
> What makes it very nice: you can now write your code using the latest
> API version of ffmpeg GIT and can still be sure, that it will compile on
> older versions. (without those nasty #ifdefs all over the place.)
>
> You still have to check though, when you use interface functions, that
> where *not* used within the rest of the code and add compatibility macros
> to ffmpeg_compat.h appropriately.
>
> I hope, build doesn't break anymore.
>
> If it doesn't work out, please send me an email. (And: if you do
> so, tell me the exact ffmpeg version you are using, otherwise, I can't
> check!)
>
> Cheers,
> Peter
>
> P.S.: Sorry for the inconvenience, should have solved that the first time
>       this way.
>
> ----
> Peter Schlaile
>
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
>


More information about the Bf-committers mailing list