[FFmpeg-devel] [PATCH] Change deprecated use of _SVID_SOURCE to _DEFAULT_SOURCE

Daniel Bomar dbdaniel42 at gmail.com
Thu Sep 18 23:31:21 CEST 2014


This actually generated an error trying to build ffmpeg as part of Chromium.

Signed-off-by: Daniel Bomar <dbdaniel42 at gmail.com>
---
 libavformat/os_support.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/os_support.c b/libavformat/os_support.c
index e8f063a..7a948d8 100644
--- a/libavformat/os_support.c
+++ b/libavformat/os_support.c
@@ -21,7 +21,7 @@
  */
 
 /* needed by inet_aton() */
-#define _SVID_SOURCE
+#define _DEFAULT_SOURCE
 
 #include "config.h"
 #include "avformat.h"
-- 
2.1.0



More information about the ffmpeg-devel mailing list