aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-10-20 15:22:41 +0200
committerAnton Khirnov <anton@khirnov.net>2012-12-04 21:40:22 +0100
commitcb45553f577f8e0ebfe05d3287e1b6fa5859b967 (patch)
treea351c06fb3fc1b79f40c9539af0820d9c630bd6c /libavcodec
parent90153465b04bf4175b8e85587d90b3b3e5399020 (diff)
downloadffmpeg-cb45553f577f8e0ebfe05d3287e1b6fa5859b967.tar.gz
Remove pointless #undefs of previously forbidden functions.
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/golomb-test.c1
-rw-r--r--libavcodec/iirfilter.c1
-rw-r--r--libavcodec/libfaac.c2
3 files changed, 0 insertions, 4 deletions
diff --git a/libavcodec/golomb-test.c b/libavcodec/golomb-test.c
index bc90f36baf..e740a20aea 100644
--- a/libavcodec/golomb-test.c
+++ b/libavcodec/golomb-test.c
@@ -25,7 +25,6 @@
#include "golomb.h"
#include "put_bits.h"
-#undef fprintf
#define COUNT 8191
#define SIZE (COUNT * 4)
diff --git a/libavcodec/iirfilter.c b/libavcodec/iirfilter.c
index f9b9ff60d4..acfa9048b4 100644
--- a/libavcodec/iirfilter.c
+++ b/libavcodec/iirfilter.c
@@ -312,7 +312,6 @@ av_cold void ff_iir_filter_free_coeffs(struct FFIIRFilterCoeffs *coeffs)
}
#ifdef TEST
-#undef printf
#include <stdio.h>
#define FILT_ORDER 4
diff --git a/libavcodec/libfaac.c b/libavcodec/libfaac.c
index 24f3bf2027..745fee2674 100644
--- a/libavcodec/libfaac.c
+++ b/libavcodec/libfaac.c
@@ -159,9 +159,7 @@ static av_cold int Faac_encode_init(AVCodecContext *avctx)
memcpy(avctx->extradata, buffer, avctx->extradata_size);
faac_cfg->outputFormat = 0;
}
-#undef free
free(buffer);
-#define free please_use_av_free
}
if (!faacEncSetConfiguration(s->faac_handle, faac_cfg)) {