mirror of https://git.ffmpeg.org/ffmpeg.git
Remove #undefs for formerly forbidden system functions
The macros forbidding the system functions no longer exist, obviating the need for the #undefs.
This commit is contained in:
parent
cffecc0e7e
commit
86f910806b
|
@ -38,8 +38,6 @@ static int optind = 1;
|
||||||
static int optopt;
|
static int optopt;
|
||||||
static char *optarg;
|
static char *optarg;
|
||||||
|
|
||||||
#undef fprintf
|
|
||||||
|
|
||||||
static int getopt(int argc, char *argv[], char *opts)
|
static int getopt(int argc, char *argv[], char *opts)
|
||||||
{
|
{
|
||||||
static int sp = 1;
|
static int sp = 1;
|
||||||
|
|
|
@ -47,8 +47,6 @@
|
||||||
#include "x86/idct_xvid.h"
|
#include "x86/idct_xvid.h"
|
||||||
#include "dctref.h"
|
#include "dctref.h"
|
||||||
|
|
||||||
#undef printf
|
|
||||||
|
|
||||||
// BFIN
|
// BFIN
|
||||||
void ff_bfin_idct(int16_t *block);
|
void ff_bfin_idct(int16_t *block);
|
||||||
void ff_bfin_fdct(int16_t *block);
|
void ff_bfin_fdct(int16_t *block);
|
||||||
|
|
|
@ -34,8 +34,6 @@
|
||||||
#define cm (ff_cropTbl + MAX_NEG_CROP)
|
#define cm (ff_cropTbl + MAX_NEG_CROP)
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
#undef fprintf
|
|
||||||
#undef perror
|
|
||||||
#if 0
|
#if 0
|
||||||
static void png_save(const char *filename, uint8_t *bitmap, int w, int h,
|
static void png_save(const char *filename, uint8_t *bitmap, int w, int h,
|
||||||
uint32_t *rgba_palette)
|
uint32_t *rgba_palette)
|
||||||
|
|
|
@ -439,9 +439,6 @@ static int find_smallest_bounding_rectangle(AVSubtitle *s)
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
#undef fprintf
|
|
||||||
#undef perror
|
|
||||||
#undef exit
|
|
||||||
static void ppm_save(const char *filename, uint8_t *bitmap, int w, int h,
|
static void ppm_save(const char *filename, uint8_t *bitmap, int w, int h,
|
||||||
uint32_t *rgba_palette)
|
uint32_t *rgba_palette)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue