diff options
author | Diego Biurrun <diego@biurrun.de> | 2013-11-06 21:07:35 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2013-11-07 00:26:15 +0100 |
commit | 86f910806b2c303c43727d357a5b927e662bb3d1 (patch) | |
tree | 473b3903abf71e7b7652062130ab836ce2912239 | |
parent | cffecc0e7ebd642afaa1fb9f56fab1fcc283293c (diff) | |
download | ffmpeg-86f910806b2c303c43727d357a5b927e662bb3d1.tar.gz |
Remove #undefs for formerly forbidden system functions
The macros forbidding the system functions no longer exist, obviating
the need for the #undefs.
-rw-r--r-- | compat/getopt.c | 2 | ||||
-rw-r--r-- | libavcodec/dct-test.c | 2 | ||||
-rw-r--r-- | libavcodec/dvbsubdec.c | 2 | ||||
-rw-r--r-- | libavcodec/dvdsubdec.c | 3 |
4 files changed, 0 insertions, 9 deletions
diff --git a/compat/getopt.c b/compat/getopt.c index 3e7d3e215e..7c646f6a05 100644 --- a/compat/getopt.c +++ b/compat/getopt.c @@ -38,8 +38,6 @@ static int optind = 1; static int optopt; static char *optarg; -#undef fprintf - static int getopt(int argc, char *argv[], char *opts) { static int sp = 1; diff --git a/libavcodec/dct-test.c b/libavcodec/dct-test.c index b7a27f0beb..716af65fb6 100644 --- a/libavcodec/dct-test.c +++ b/libavcodec/dct-test.c @@ -47,8 +47,6 @@ #include "x86/idct_xvid.h" #include "dctref.h" -#undef printf - // BFIN void ff_bfin_idct(int16_t *block); void ff_bfin_fdct(int16_t *block); diff --git a/libavcodec/dvbsubdec.c b/libavcodec/dvbsubdec.c index 9eaedca198..6ce187f85d 100644 --- a/libavcodec/dvbsubdec.c +++ b/libavcodec/dvbsubdec.c @@ -34,8 +34,6 @@ #define cm (ff_cropTbl + MAX_NEG_CROP) #ifdef DEBUG -#undef fprintf -#undef perror #if 0 static void png_save(const char *filename, uint8_t *bitmap, int w, int h, uint32_t *rgba_palette) diff --git a/libavcodec/dvdsubdec.c b/libavcodec/dvdsubdec.c index c5e864df0c..6b168cb352 100644 --- a/libavcodec/dvdsubdec.c +++ b/libavcodec/dvdsubdec.c @@ -439,9 +439,6 @@ static int find_smallest_bounding_rectangle(AVSubtitle *s) } #ifdef DEBUG -#undef fprintf -#undef perror -#undef exit static void ppm_save(const char *filename, uint8_t *bitmap, int w, int h, uint32_t *rgba_palette) { |