summaryrefslogtreecommitdiff
path: root/libavdevice
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2011-06-02 22:45:15 +0200
committerDiego Biurrun <diego@biurrun.de>2011-06-03 00:44:06 +0200
commitf190f676bc93a7e80344f2feeb3b9b44604d4717 (patch)
treed450a39677cd2e45abdea10256675ac7267cce92 /libavdevice
parent068aa387128850da488af262d54986d03eebe423 (diff)
Replace custom DEBUG preprocessor trickery by the standard one.
Diffstat (limited to 'libavdevice')
-rw-r--r--libavdevice/dv1394.c3
-rw-r--r--libavdevice/vfwcap.c4
2 files changed, 1 insertions, 6 deletions
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 <windows.h>
#include <vfw.h>
-//#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");