From f190f676bc93a7e80344f2feeb3b9b44604d4717 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Thu, 2 Jun 2011 22:45:15 +0200 Subject: Replace custom DEBUG preprocessor trickery by the standard one. --- libavdevice/dv1394.c | 3 --- libavdevice/vfwcap.c | 4 +--- 2 files changed, 1 insertion(+), 6 deletions(-) (limited to 'libavdevice') diff --git a/libavdevice/dv1394.c b/libavdevice/dv1394.c index f414eb3388..565cf4cc4e 100644 --- a/libavdevice/dv1394.c +++ b/libavdevice/dv1394.c @@ -33,9 +33,6 @@ #include "libavutil/log.h" #include "libavutil/opt.h" #include "libavformat/avformat.h" - -#undef DV1394_DEBUG - #include "libavformat/dv.h" #include "dv1394.h" diff --git a/libavdevice/vfwcap.c b/libavdevice/vfwcap.c index c021831945..5dd873bdcb 100644 --- a/libavdevice/vfwcap.c +++ b/libavdevice/vfwcap.c @@ -26,8 +26,6 @@ #include #include -//#define DEBUG_VFW - /* Defines for VFW missing from MinGW. * Remove this when MinGW incorporates them. */ #define HWND_MESSAGE ((HWND)-3) @@ -122,7 +120,7 @@ static void dump_captureparms(AVFormatContext *s, CAPTUREPARMS *cparms) static void dump_videohdr(AVFormatContext *s, VIDEOHDR *vhdr) { -#ifdef DEBUG_VFW +#ifdef DEBUG av_log(s, AV_LOG_DEBUG, "VIDEOHDR\n"); dstruct(s, vhdr, lpData, "p"); dstruct(s, vhdr, dwBufferLength, "lu"); -- cgit v1.2.3