[Ffmpeg-devel] FFMPEG RTSP for Windows

Michael A. Kohn mike
Fri Mar 31 01:29:19 CEST 2006



On Thu, 30 Mar 2006, Rich Felker wrote:

> > > > > +/* I'm sure the next two lines are evil in some way, but I'm not sure
> > > > > +   how else to do that right now */
> > > >
> > > > the way it is right now does not compile.  i was hoping someone could have
> > > > been nice enough to explain why instead of you coming around and insulting
> > > > me...  i'm sorry if what i did is so horrible, but that was the only way
> > > > that was going to compile..
> > >
> > > Well if there's buggy code you need to fix it, not pile workarounds on
> > > top of it that hide the bugs.
> >
> > Well, I'm not sure how to take care of random() since it doesn't seem to
> > exist in MingW.  Do you or anyone else on this mailing list have a good
> > suggestion?
>
> Yes, removing it, which I did a few hours ago.

ah.. nice.

> >
> > Anyway, my question is, would you or anyone else like to me make these
> > changes and resubmit a patch?  or should I just leave this code to myself?
>
> Unless you can make it entirely unobtrusive I doubt it will be very
> welcome. In the long term mingw's direct linking to MSVCRT should be
> replaced either with a legitimate, correct C library or with wrappers
> that provide a minimal degree of correct interfaces/semantics (but not
> a whole bloated emulation environment like cygwin). This is a project
> in itself of course.
>
> Rich

I'm not sure if it's possible then.  Those #includes i #ifdef'd out really
need to be #ifdef'd.. and a few of those fuctions do have to be treated
differently... I guess I'll just keep these changes to myself...

/mike







More information about the ffmpeg-devel mailing list