[Ffmpeg-devel] macosx compilation support patch

Marc Hoffman mmh
Thu Feb 22 04:57:31 CET 2007


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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: rtsp-macosx-time.patch
Type: application/octet-stream
Size: 280 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070221/f76a9eed/attachment.obj>



More information about the ffmpeg-devel mailing list