diff --git a/compat/getopt.c b/compat/getopt.c index dd082ea2e6..9a9c5421de 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 be00c4bb96..f323366c5f 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 4ce40aac83..b8b414343d 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 87afc1e7ba..3f8c3650ba 100644 --- a/libavcodec/dvdsubdec.c +++ b/libavcodec/dvdsubdec.c @@ -462,9 +462,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) {