[Ffmpeg-devel] macosx compilation support patch

Diego Biurrun diego
Thu Feb 22 09:41:09 CET 2007


On Wed, Feb 21, 2007 at 10:57:31PM -0500, Marc Hoffman wrote:
> 
> On Feb 21, 2007, at 7:18 AM, Marc Hoffman wrote:
> 
> >
> >On Feb 21, 2007, at 6:56 AM, M?ns Rullg?rd wrote:
> >
> >>Marc Hoffman said:
> >>>sys/time.h is needed on MACOSX to get the definition of timeval.
> >>>
> >>>Index: libavformat/rtsp.c
> >>>===================================================================
> >>>--- libavformat/rtsp.c        (revision 8047)
> >>>+++ libavformat/rtsp.c        (working copy)
> >>>@@ -20,6 +20,10 @@
> >>>  */
> >>> #include "avformat.h"
> >>>
> >>>+#ifdef CONFIG_DARWIN
> >>>+#include <sys/time.h>
> >>>+#endif
> >>
> >>Useless #ifdef.  Unconditionally #including sys/time.h should be  
> >>harmless.
> >
> >I agree! I actually added it the ifdef to the patch file.  Thanks  
> >do you want me to repost?
> 
> Can this be applied please.

Applied.

Diego





More information about the ffmpeg-devel mailing list