From 43b6c3eb182617ff08e72584e1c4635ac20d33e8 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Fri, 27 May 2011 20:34:01 +0200 Subject: mpegts: Wrap #ifdef DEBUG and av_hex_dump_log() combination in a macro. --- libavformat/internal.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libavformat/internal.h') diff --git a/libavformat/internal.h b/libavformat/internal.h index 6f1305ce25..ad3d9c91c2 100644 --- a/libavformat/internal.h +++ b/libavformat/internal.h @@ -26,6 +26,12 @@ #define MAX_URL_SIZE 4096 +#ifdef DEBUG +# define hex_dump_debug(class, buf, size) av_hex_dump_log(class, AV_LOG_DEBUG, buf, size) +#else +# define hex_dump_debug(class, buf, size) +#endif + typedef struct AVCodecTag { enum CodecID id; unsigned int tag; -- cgit v1.2.3