aboutsummaryrefslogtreecommitdiffstats
path: root/libavdevice/vfwcap.c
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/vfwcap.c
parent068aa387128850da488af262d54986d03eebe423 (diff)
downloadffmpeg-f190f676bc93a7e80344f2feeb3b9b44604d4717.tar.gz
Replace custom DEBUG preprocessor trickery by the standard one.
Diffstat (limited to 'libavdevice/vfwcap.c')
-rw-r--r--libavdevice/vfwcap.c4
1 files changed, 1 insertions, 3 deletions
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");