From cb45553f577f8e0ebfe05d3287e1b6fa5859b967 Mon Sep 17 00:00:00 2001 From: Anton Khirnov <anton@khirnov.net> Date: Sat, 20 Oct 2012 15:22:41 +0200 Subject: Remove pointless #undefs of previously forbidden functions. --- libavdevice/libcdio.c | 3 --- libavdevice/libdc1394.c | 2 -- libavdevice/timefilter.c | 2 -- 3 files changed, 7 deletions(-) (limited to 'libavdevice') 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; -- cgit v1.2.3