[FFmpeg-cvslog] Add #define _BSD_SOURCE where mplayer is not C99.
Michael Niedermayer
git
Thu Jan 20 03:54:52 CET 2011
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Jan 14 04:52:19 2011 +0100| [45c889a3adf6df9e6a9bf5a2e7c960d866e2ccb4] | committer: Michael Niedermayer
Add #define _BSD_SOURCE where mplayer is not C99.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=45c889a3adf6df9e6a9bf5a2e7c960d866e2ccb4
---
libavfilter/libmpcodecs/vf_detc.c | 1 +
libavfilter/libmpcodecs/vf_divtc.c | 1 +
libavfilter/libmpcodecs/vf_palette.c | 1 +
3 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/libavfilter/libmpcodecs/vf_detc.c b/libavfilter/libmpcodecs/vf_detc.c
index 8122233..83e09dd 100644
--- a/libavfilter/libmpcodecs/vf_detc.c
+++ b/libavfilter/libmpcodecs/vf_detc.c
@@ -16,6 +16,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#define _BSD_SOURCE //strdup
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/libavfilter/libmpcodecs/vf_divtc.c b/libavfilter/libmpcodecs/vf_divtc.c
index 5cc9932..0b6ea04 100644
--- a/libavfilter/libmpcodecs/vf_divtc.c
+++ b/libavfilter/libmpcodecs/vf_divtc.c
@@ -16,6 +16,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#define _BSD_SOURCE //strdup
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/libavfilter/libmpcodecs/vf_palette.c b/libavfilter/libmpcodecs/vf_palette.c
index 45fc41b..3a7f086 100644
--- a/libavfilter/libmpcodecs/vf_palette.c
+++ b/libavfilter/libmpcodecs/vf_palette.c
@@ -16,6 +16,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#define _BSD_SOURCE //strcasecmp
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
More information about the ffmpeg-cvslog
mailing list