diff options
author | Diego Biurrun <diego@biurrun.de> | 2011-06-02 22:45:15 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2011-06-03 00:44:06 +0200 |
commit | f190f676bc93a7e80344f2feeb3b9b44604d4717 (patch) | |
tree | d450a39677cd2e45abdea10256675ac7267cce92 /libavdevice | |
parent | 068aa387128850da488af262d54986d03eebe423 (diff) | |
download | ffmpeg-streaming-f190f676bc93a7e80344f2feeb3b9b44604d4717.zip ffmpeg-streaming-f190f676bc93a7e80344f2feeb3b9b44604d4717.tar.gz |
Replace custom DEBUG preprocessor trickery by the standard one.
Diffstat (limited to 'libavdevice')
-rw-r--r-- | libavdevice/dv1394.c | 3 | ||||
-rw-r--r-- | libavdevice/vfwcap.c | 4 |
2 files changed, 1 insertions, 6 deletions
diff --git a/libavdevice/dv1394.c b/libavdevice/dv1394.c index f414eb3..565cf4c 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 c021831..5dd873b 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"); |