[FFmpeg-devel] [PATCH] libavformat, libswscale: fix warning for deprecated macros

Ganesh Ajjanagadde gajjanag at mit.edu
Fri Jun 5 22:28:39 CEST 2015


On Fri, Jun 5, 2015 at 11:30 AM, wm4 <nfxjfg at googlemail.com> wrote:
> On Fri, 5 Jun 2015 11:15:29 -0400
> Ganesh Ajjanagadde <gajjanag at mit.edu> wrote:
>
>> Although it has been deprecated from version 2.20,
>> version 2.19 adds the _DEFAULT_SOURCE macro
>> added in Feb 2014, see
>> e.g man feature_test_macros.
>>
>> I posted this because lots of major projects have now
>> shifted to the new macros, it has been available
>> for 1.5 years now, and the old macros are deprecated.
>
> What about systems other than glibc?

As can be seen in my patch, all I did was replace the BSD, SVID, etc
macros with the newer ones.
These are clearly not there on Windows (say),
but I assumed that since ffmpeg was building fine before on Windows,
so it should build fine with my patch as well.
I am not familiar with the details of the ffmpeg build system,
and don't have a Windows machine to test either,
so perhaps I am wrong.

> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel


More information about the ffmpeg-devel mailing list