[Ffmpeg-devel] FFMPEG RTSP for Windows
Michael Niedermayer
michaelni
Thu Mar 30 17:37:30 CEST 2006
Hi
On Thu, Mar 30, 2006 at 07:39:07AM -0600, Michael A. Kohn wrote:
[...]
> > This is wrong. It will break cygwin.
>
> > +#ifndef CONFIG_WIN32
>
> I didn't know.. this is my first time working on ffmpeg code I assumed
> it's better to use #ifdefs for WIN32 instead of MINGW incase someone was
> using microsoft's or intel's compiler...
>
> > sleep(1);
> > +#else
> > + Sleep(1000);
>
> > This is wrong. I doubt win32 is missing sleep, but if it is, you need
> > to make an emulation of sleep() using Sleep in a separate
> > win32-dependent file.
>
> This is not wrong... try compiling this in Visual C++:
VC++ does not compile ffmpeg as VC++ is not compliant to the c standard
[...]
--
Michael
More information about the ffmpeg-devel
mailing list