diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-01-14 04:52:19 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-01-20 00:50:42 +0100 |
commit | 45c889a3adf6df9e6a9bf5a2e7c960d866e2ccb4 (patch) | |
tree | 6c828c3d70a5b439361ebc7f8ca36bc518d57512 /libavfilter | |
parent | e4852fb38df0c3a43e19b5a74c44f8ea57e98951 (diff) | |
download | ffmpeg-45c889a3adf6df9e6a9bf5a2e7c960d866e2ccb4.tar.gz |
Add #define _BSD_SOURCE where mplayer is not C99.
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/libmpcodecs/vf_detc.c | 1 | ||||
-rw-r--r-- | libavfilter/libmpcodecs/vf_divtc.c | 1 | ||||
-rw-r--r-- | 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 8122233de2..83e09dd71e 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 5cc9932feb..0b6ea04a6c 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 45fc41ba45..3a7f0869bf 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> |