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

Damir Prebeg blend.factory at gmail.com
Sat May 28 20:12:16 CEST 2011


Hm, build is successful but at runtime I get error "The procedure
entry point RegisterDragDrop could not be located in the dynamic link
library avcodec-52.dll"

On 28 May 2011 02:08, Dalai Felinto <dfelinto at gmail.com> wrote:
> 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
>>
> _______________________________________________
> 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