[Bf-committers] Re: Trybing to have FFMpeg with MSVC

Peter Schlaile peter at schlaile.de
Sun Jul 9 09:15:27 CEST 2006


Hi,

> Name: Ffmpeg_try_under_msvc.patch
> http://projects.blender.org/pipermail/bf-committers/attachments/20060708/00f83769/Ffmpeg_try_under_msvc.bin

I do not know, in which direction you were heading. Does this patch really
make ffmpeg _compile_ for you with MSVC?

Some lines really do not look that nice, escpecially:

-#include <ffmpeg/avformat.h>
-#include <ffmpeg/avcodec.h>
-#include <ffmpeg/rational.h>
+#include <libavformat/avformat.h>
+#include <libavcodec/avcodec.h>
+#include <libavutil/rational.h>

isn't very usefull, since the header files get installed into ffmpeg/...
on make install.

It is also a not so good idea, to patch the ffmpeg-header files
directly, since someone will eventually update to a newer ffmpeg-version
included in blender and then screw up all your changes. If those are
simple redefinitions, it is maybe better to use the command line of the
compiler for this. (like -D inline=__inline etc.)

Greetings,
Peter

----
Peter Schlaile <peter at schlaile.de> [Telefon: 0721 - 130277]




More information about the Bf-committers mailing list