[FFmpeg-devel] [PATCH] Mimic decoder
Ramiro Polla
ramiro
Sat Mar 22 02:02:33 CET 2008
Mike Melanson wrote:
> Uoti Urpala wrote:
>> On Fri, 2008-03-21 at 12:30 -0300, Ramiro Polla wrote:
>>> The project I'm the most interested in for GSoC is one that might just
>>> start a flamewar: Port FFmpeg to Visual Studio.
>>> I'm not sure it is even welcome by most devs, but if it is, I'll try my
>>> best to write a clean port. It would involve using the same build system
>>> we currently have, using wgcc as a cl.exe wrapper, importing some
>>> missing POSIX functionality from MinGW, and using MinGW to compile the
>>> extensive asm we have (except inline asm). It would actually be a hybrid
>>> build (MinGW+MSVC). Should I put more effort into this or is everyone
>>> against this just for the sake of bashing Windows?
>> AFAIK the main thing causing problems when trying to compile the current
>> version under MSVC is that MSVC fails to compile some standard C code.
>> So suppose you manage to create a version of FFmpeg that compiles under
>> MSVC. Then what? Would you expect your changes (which would worsen some
>> code for the sake of MSVC support) to get merged and everyone developing
>> FFmpeg to work under the restrictions of MSVC from then on? Or would you
>> maintain it as a fork indefinitely? Or you would abandon it and let it
>> rot after the summer project is over?
>
> How about creating some script that, at built time, can convert C99
> idioms to something that the non-C99 MSVC can handle? IOW, convert named
> initializers to fully initialized structures. What other discrepancies
> currently exist (not counting ASM, which will be effectively #ifdef'd away).
Yes. Michael suggested scripts at
http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2008-March/043281.html
More information about the ffmpeg-devel
mailing list