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

Ganesh Ajjanagadde gajjanag at mit.edu
Fri Jun 5 17:15:29 CEST 2015


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.


On Thu, Jun 4, 2015 at 12:46 PM, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
> Ganesh Ajjanagadde <gajjanagadde <at> gmail.com> writes:
>
>> Version 2.20 of glibc deprecates _BSD_SOURCE and
>> _SVID_SOURCE and replaces with _DEFAULT_SOURCE
>
> I don't think FFmpeg requires version 2.20 of glibc
> so unless this fixes more than just a warning it
> should probably not be committed.
>
> Carl Eugen
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel


More information about the ffmpeg-devel mailing list