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

2015-06-05 Thread Ganesh Ajjanagadde
On Fri, Jun 5, 2015 at 5:17 PM, wm4 wrote: > On Fri, 5 Jun 2015 16:28:39 -0400 > Ganesh Ajjanagadde wrote: > >> On Fri, Jun 5, 2015 at 11:30 AM, wm4 wrote: >> > On Fri, 5 Jun 2015 11:15:29 -0400 >> > Ganesh Ajjanagadde wrote: >> > >> >> Although it has been deprecated from version 2.20, >> >> v

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

2015-06-05 Thread wm4
On Fri, 5 Jun 2015 16:28:39 -0400 Ganesh Ajjanagadde wrote: > On Fri, Jun 5, 2015 at 11:30 AM, wm4 wrote: > > On Fri, 5 Jun 2015 11:15:29 -0400 > > Ganesh Ajjanagadde wrote: > > > >> Although it has been deprecated from version 2.20, > >> version 2.19 adds the _DEFAULT_SOURCE macro > >> added i

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

2015-06-05 Thread Ganesh Ajjanagadde
On Fri, Jun 5, 2015 at 11:30 AM, wm4 wrote: > On Fri, 5 Jun 2015 11:15:29 -0400 > Ganesh Ajjanagadde 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

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

2015-06-05 Thread wm4
On Fri, 5 Jun 2015 11:15:29 -0400 Ganesh Ajjanagadde 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 ma

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

2015-06-05 Thread Michael Niedermayer
On Fri, Jun 05, 2015 at 11:15:29AM -0400, Ganesh Ajjanagadde 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

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

2015-06-05 Thread Ganesh Ajjanagadde
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 deprec

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

2015-06-04 Thread Carl Eugen Hoyos
Ganesh Ajjanagadde 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] [PATCH] libavformat, libswscale: fix warning for deprecated macros

2015-06-04 Thread Ganesh Ajjanagadde
Version 2.20 of glibc deprecates _BSD_SOURCE and _SVID_SOURCE and replaces with _DEFAULT_SOURCE Signed-off-by: Ganesh Ajjanagadde --- libavformat/img2dec.c | 2 +- libavformat/udp.c | 2 +- libswscale/utils.c| 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libavform