[FFmpeg-devel] [PATCH] Remove av_gettime() ifdef for MinGW
Panagiotis Issaris
takis.issaris
Tue Jul 17 14:52:46 CEST 2007
Hi,
Op 16-jul-07, om 22:32 heeft Ramiro Ribeiro Polla het volgende
geschreven:
> Ramiro Polla wrote:
>> V?ctor Paesa wrote:
>>
>>> Hi,
>>>
>>> Ramiro Polla said:
>>>
>>>
>>>> Hello,
>>>>
>>>> MinGW has had gettimeofday() for about a year now (since mingw-
>>>> runtime
>>>> 3.10) in libmingwex (which is linked by default). I don't think
>>>> it's too
>>>> much to ask for anyone who wants to compile FFmpeg under MinGW
>>>> to be
>>>> using the latest packages.
>>>>
>>>>
>>> Nihil obstat: gettimeofday() is also available in the cross-compile
>>> package under Cygwin (mingw-runtime 3.12-4 by now).
>>>
>>>
>>>
>>>> av_gettime1.diff removes the ifdef
>>>> av_gettime2.diff moves the function back to libavformat/utils.c,
>>>> where
>>>> it was thousands of revisions ago.
>>>>
>>>>
>>>
>>>
>>
>> If no one objects, I'll apply this on monday.
>>
>>
>
> Applied.
Ouch, I should have noticed this earlier, but this breaks cross-
compilation
on Debian stable, as Debian includes MinGW 3.9. But, as I do not
think many
people are crosscompiling for win32 on Debian stable, I'll just add
the reverse
patches to my local git-tree :)
Met vriendelijke groeten,
Takis
--
vCard: http://issaris.org/pi.vcf
PGP key: http://issaris.org/pi.key
More information about the ffmpeg-devel
mailing list