aboutsummaryrefslogtreecommitdiffstats
path: root/libavdevice
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 /libavdevice
parent90153465b04bf4175b8e85587d90b3b3e5399020 (diff)
downloadffmpeg-cb45553f577f8e0ebfe05d3287e1b6fa5859b967.tar.gz
Remove pointless #undefs of previously forbidden functions.
Diffstat (limited to 'libavdevice')
-rw-r--r--libavdevice/libcdio.c3
-rw-r--r--libavdevice/libdc1394.c2
-rw-r--r--libavdevice/timefilter.c2
3 files changed, 0 insertions, 7 deletions
diff --git a/libavdevice/libcdio.c b/libavdevice/libcdio.c
index a82ad67f34..e846ee635b 100644
--- a/libavdevice/libcdio.c
+++ b/libavdevice/libcdio.c
@@ -33,9 +33,6 @@
#include "libavformat/avformat.h"
#include "libavformat/internal.h"
-/* cdio returns some malloced strings that need to be free()d */
-#undef free
-
typedef struct CDIOContext {
AVClass *class;
cdrom_drive_t *drive;
diff --git a/libavdevice/libdc1394.c b/libavdevice/libdc1394.c
index d953e12cbe..f030e3e31d 100644
--- a/libavdevice/libdc1394.c
+++ b/libavdevice/libdc1394.c
@@ -48,8 +48,6 @@
#define DC1394_FRAMERATE_240 FRAMERATE_240
#endif
-#undef free
-
typedef struct dc1394_data {
AVClass *class;
#if HAVE_LIBDC1394_1
diff --git a/libavdevice/timefilter.c b/libavdevice/timefilter.c
index 8f52fc5d62..8b98d338f0 100644
--- a/libavdevice/timefilter.c
+++ b/libavdevice/timefilter.c
@@ -78,8 +78,6 @@ double ff_timefilter_update(TimeFilter *self, double system_time, double period)
#include "libavutil/lfg.h"
#define LFG_MAX ((1LL << 32) - 1)
-#undef printf
-
int main(void)
{
AVLFG prng;